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.11 (latest)
0.0.11
Created 22 August 2024.
Allows to generate version numbers from Git tags and GoCD pipeline environment details. Provides closures to read environment variables of GoCD pipelines.
Using the plugins DSL:
plugins {
id("net.raumzeitfalle.gradle.gocdversion") version "0.0.11"
}
Using legacy plugin application:
buildscript {
repositories {
maven {
url = uri("https://plugins.gradle.org/m2/")
}
}
dependencies {
classpath("net.raumzeitfalle.gradle.gocd:GocdVersionPlugin:0.0.11")
}
}
apply(plugin = "net.raumzeitfalle.gradle.gocdversion")
Using the plugins DSL:
plugins {
id "net.raumzeitfalle.gradle.gocdversion" version "0.0.11"
}
Using legacy plugin application:
buildscript {
repositories {
maven {
url "https://plugins.gradle.org/m2/"
}
}
dependencies {
classpath "net.raumzeitfalle.gradle.gocd:GocdVersionPlugin:0.0.11"
}
}
apply plugin: "net.raumzeitfalle.gradle.gocdversion"