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.0.6
0.0.6
Created 09 January 2023.
Allows to use GoCD pipeline environment details to be used in version numbers. Provides closures to read environment variables of GoCD pipelines.
Using the plugins DSL:
plugins {
id("net.raumzeitfalle.gradle.gocdversion") version "0.0.6"
}
Using legacy plugin application:
buildscript {
repositories {
maven {
url = uri("https://plugins.gradle.org/m2/")
}
}
dependencies {
classpath("net.raumzeitfalle.gradle.gocd:GocdVersionPlugin:0.0.6")
}
}
apply(plugin = "net.raumzeitfalle.gradle.gocdversion")
Using the plugins DSL:
plugins {
id "net.raumzeitfalle.gradle.gocdversion" version "0.0.6"
}
Using legacy plugin application:
buildscript {
repositories {
maven {
url "https://plugins.gradle.org/m2/"
}
}
dependencies {
classpath "net.raumzeitfalle.gradle.gocd:GocdVersionPlugin:0.0.6"
}
}
apply plugin: "net.raumzeitfalle.gradle.gocdversion"