de.macnix.gradle.git-version-properties
Owner: Hans-Uwe Brackel
A plugin providing automatic versioning of CI/CD builds based on git tags and build info
https://github.com/hbrackel/gradle-plugins
Sources: https://github.com/hbrackel/gradle-plugins
Version 1.2.1 (latest)
Created 23 July 2024.
A plugin providing automatic versioning of CI/CD builds based on git tags and build info
Add this plugin to your build using the plugins DSL:
plugins {
id("de.macnix.gradle.git-version-properties") version "1.2.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("de.macnix.gradle.git-version-properties:de.macnix.gradle.git-version-properties.gradle.plugin:1.2.1") }
It can then be applied in the precompiled script plugin:plugins { id("de.macnix.gradle.git-version-properties") }
-
The legacy method of plugin application.
See the relevant documentation for more information.buildscript { repositories { gradlePluginPortal() } dependencies { classpath("de.macnix.gradle.git-version-properties:de.macnix.gradle.git-version-properties.gradle.plugin:1.2.1") } } apply(plugin = "de.macnix.gradle.git-version-properties")
- Applying plugins to all subprojects .