net.raumzeitfalle.gradle.gocdversion
Owner:
Oliver Löffler
Allows to use GoCD pipeline environment details to be used in version numbers. Provides very simple method to create MSI/WIX compatible version numbers e.g. from Git version tag.
https://codeberg.org/Oliver-Loeffler/GocdVersionPlugin
Sources: https://github.com/Oliver-Loeffler/GocdVersionPlugin.git
Version 0.1.0
Created 20 September 2025.
Allows to generate version numbers from Git tags and CICD pipeline environment details. Provides closures to read environment variables of GoCD pipelines. Supports detection of Github Actions and Gitlab CICD pipelines and jobs. Provides approach method to create MSI/WIX compatible version numbers e.g. from a Git tag derived version.
Add this plugin to your build using the plugins DSL:
plugins {
id("net.raumzeitfalle.gradle.gocdversion") version "0.1.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("net.raumzeitfalle.gradle.gocdversion:net.raumzeitfalle.gradle.gocdversion.gradle.plugin:0.1.0") }
It can then be applied in the precompiled script plugin:plugins { id("net.raumzeitfalle.gradle.gocdversion") }
-
The legacy method of plugin application.
See the relevant documentation for more information.buildscript { repositories { gradlePluginPortal() } dependencies { classpath("net.raumzeitfalle.gradle.gocdversion:net.raumzeitfalle.gradle.gocdversion.gradle.plugin:0.1.0") } } apply(plugin = "net.raumzeitfalle.gradle.gocdversion")
- Applying plugins to all subprojects .