Search Gradle plugins

net.raumzeitfalle.gradle.gocdversion

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.5

0.0.5

Created 04 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.5"
}

Using legacy plugin application:

buildscript {
  repositories {
    maven {
      url = uri("https://plugins.gradle.org/m2/")
    }
  }
  dependencies {
    classpath("net.raumzeitfalle.gradle.gocd:GocdVersionPlugin:0.0.5")
  }
}

apply(plugin = "net.raumzeitfalle.gradle.gocdversion")

Using the plugins DSL:

plugins {
  id "net.raumzeitfalle.gradle.gocdversion" version "0.0.5"
}

Using legacy plugin application:

buildscript {
  repositories {
    maven {
      url "https://plugins.gradle.org/m2/"
    }
  }
  dependencies {
    classpath "net.raumzeitfalle.gradle.gocd:GocdVersionPlugin:0.0.5"
  }
}

apply plugin: "net.raumzeitfalle.gradle.gocdversion"

Learn how to apply plugins to subprojects