org.dmfs.gitversion
Owner: Marten Gajda
Gradle versioning based on git history.
Sources: https://github.com/dmfs/gitversion
Version 0.17.1 (latest)
Created 24 February 2023.
Gradle versioning based on git history.Note, version 0.16.0 is the last version published with the ID org.dmfs.gitversion.Subsequent versions will be published as org.dmfs.gver.
Add this plugin to your build using the plugins DSL:
plugins {
id("org.dmfs.gitversion") version "0.17.1"
}
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("org.dmfs.gitversion:org.dmfs.gitversion.gradle.plugin:0.17.1") }
It can then be applied in the precompiled script plugin:plugins { id("org.dmfs.gitversion") }
-
The legacy method of plugin application.
See the relevant documentation for more information.buildscript { repositories { gradlePluginPortal() } dependencies { classpath("org.dmfs.gitversion:org.dmfs.gitversion.gradle.plugin:0.17.1") } } apply(plugin = "org.dmfs.gitversion")
- Applying plugins to all subprojects .