Search Gradle plugins

de.seewes.git.version

Simple Plugin to set gradle version by git tag or branch name.

http://www.seewes.de/

Sources: https://github.com/blaueled/git-version

Version 0.2

Created 23 May 2019.

Simple Plugin to set gradle version by git tag or branch name.

Using the plugins DSL:

plugins {
  id("de.seewes.git.version") version "0.2"
}

Using legacy plugin application:

buildscript {
  repositories {
    maven {
      url = uri("https://plugins.gradle.org/m2/")
    }
  }
  dependencies {
    classpath("gradle.plugin.de.seewes.git.version:de.seewes.git.version.gradle.plugin:0.2")
  }
}

apply(plugin = "de.seewes.git.version")

Using the plugins DSL:

plugins {
  id "de.seewes.git.version" version "0.2"
}

Using legacy plugin application:

buildscript {
  repositories {
    maven {
      url "https://plugins.gradle.org/m2/"
    }
  }
  dependencies {
    classpath "gradle.plugin.de.seewes.git.version:de.seewes.git.version.gradle.plugin:0.2"
  }
}

apply plugin: "de.seewes.git.version"

Learn how to apply plugins to subprojects