com.github.arcticlampyrid.gradle-git-version
Owner: ArcticLampyrid
A plugin to set version based on git info
https://github.com/ArcticLampyrid/gradle-git-version
Sources: https://github.com/ArcticLampyrid/gradle-git-version
Version 1.0.4 (latest)
Created 15 January 2022.
A plugin to set version based on git info
Add this plugin to your build using the plugins DSL:
plugins {
id("com.github.arcticlampyrid.gradle-git-version") version "1.0.4"
}
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("com.github.arcticlampyrid.gradle-git-version:com.github.arcticlampyrid.gradle-git-version.gradle.plugin:1.0.4") }
It can then be applied in the precompiled script plugin:plugins { id("com.github.arcticlampyrid.gradle-git-version") }
-
The legacy method of plugin application.
See the relevant documentation for more information.buildscript { repositories { gradlePluginPortal() } dependencies { classpath("com.github.arcticlampyrid.gradle-git-version:com.github.arcticlampyrid.gradle-git-version.gradle.plugin:1.0.4") } } apply(plugin = "com.github.arcticlampyrid.gradle-git-version")
- Applying plugins to all subprojects .