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://github.com/Oliver-Loeffler/GocdVersionPlugin

Sources: https://github.com/Oliver-Loeffler/GocdVersionPlugin.git

Version 0.0.3

0.0.3

Created 30 December 2022.

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.3"
}

Using legacy plugin application:

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

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

Using the plugins DSL:

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

Using legacy plugin application:

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

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

Learn how to apply plugins to subprojects