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

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.

Add this plugin to your build using the plugins DSL:

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

See also:

  • Adding the plugin to build logic for usage in precompiled script plugins.

    See the relevant documentation for more information.

    Add this plugin as a dependency to <convention-plugins-build>/build.gradle(.kts):

    dependencies {
      implementation("net.raumzeitfalle.gradle.gocdversion:net.raumzeitfalle.gradle.gocdversion.gradle.plugin:0.0.4")
    }
    It can then be applied in the precompiled script plugin:
    plugins {
      id("net.raumzeitfalle.gradle.gocdversion")
    }
  • The legacy method of plugin application. See the relevant documentation for more information.
    buildscript {
      repositories {
        gradlePluginPortal()
      }
      dependencies {
        classpath("net.raumzeitfalle.gradle.gocdversion:net.raumzeitfalle.gradle.gocdversion.gradle.plugin:0.0.4")
      }
    }
    
    apply(plugin = "net.raumzeitfalle.gradle.gocdversion")
  • Applying plugins to all subprojects .