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

0.0.4

Created 03 January 2023.

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.

Using the plugins DSL:

plugins {
  id("net.raumzeitfalle.gradle.gocdversion") version "0.0.4"
}

Using legacy plugin application:

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

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

Using the plugins DSL:

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

Using legacy plugin application:

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

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

Learn how to apply plugins to subprojects