de.timroes.git-version
Owner: Tim Roes
A simple gradle plugin to determine the version number from git.
https://github.com/timroes/gradle-git-version
Sources: https://github.com/timroes/gradle-git-version
Version 0.4.0 (latest)
Created 08 February 2016.
A simple gradle plugin to determine the version number from git.
Add this plugin to your build using the plugins DSL:
plugins {
id("de.timroes.git-version") version "0.4.0"
}
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.timroes.git-version:de.timroes.git-version.gradle.plugin:0.4.0") }
It can then be applied in the precompiled script plugin:plugins { id("de.timroes.git-version") }
-
The legacy method of plugin application.
See the relevant documentation for more information.buildscript { repositories { gradlePluginPortal() } dependencies { classpath("de.timroes.git-version:de.timroes.git-version.gradle.plugin:0.4.0") } } apply(plugin = "de.timroes.git-version")
- Applying plugins to all subprojects .