Search Gradle plugins

com.dmdirc.git-version

Gradle plugin to automatically set versions based on git tags

Version 1.1 (latest)

1.1

Created 03 July 2016.

Using the plugins DSL:

plugins {
  id("com.dmdirc.git-version") version "1.1"
}

Using legacy plugin application:

buildscript {
  repositories {
    maven {
      url = uri("https://plugins.gradle.org/m2/")
    }
  }
  dependencies {
    classpath("com.dmdirc:git-version:1.1")
  }
}

apply(plugin = "com.dmdirc.git-version")

Using the plugins DSL:

plugins {
  id "com.dmdirc.git-version" version "1.1"
}

Using legacy plugin application:

buildscript {
  repositories {
    maven {
      url "https://plugins.gradle.org/m2/"
    }
  }
  dependencies {
    classpath "com.dmdirc:git-version:1.1"
  }
}

apply plugin: "com.dmdirc.git-version"

Learn how to apply plugins to subprojects