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.3 (latest)

Created 13 November 2019.

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

Add this plugin to your build using the plugins DSL:

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

See also:

  • Adding the plugin to build logic for usage in precompiled script plugins.

    See the relevant documentation for more information.

    Add this plugin as a dependency to <convention-plugins-build>/build.gradle(.kts):

    dependencies {
      implementation("de.seewes.git.version:de.seewes.git.version.gradle.plugin:0.3")
    }
    It can then be applied in the precompiled script plugin:
    plugins {
      id("de.seewes.git.version")
    }
  • The legacy method of plugin application. See the relevant documentation for more information.
    buildscript {
      repositories {
        gradlePluginPortal()
      }
      dependencies {
        classpath("de.seewes.git.version:de.seewes.git.version.gradle.plugin:0.3")
      }
    }
    
    apply(plugin = "de.seewes.git.version")
  • Applying plugins to all subprojects .