Search Gradle plugins

eu.t-systems-mms.git-semver

Gradle Git-Semver is a plugin that generates a maven compatible version for use with Gradle by calling git-describe.

https://github.com/T-Systems-MMS/gradle-git-semver

Version 0.1.0 (latest)

Created 09 May 2017.

Gradle Git-Semver is a plugin that generates a maven compatible version for use with Gradle by calling git-describe.

Using the plugins DSL:

plugins {
  id "eu.t-systems-mms.git-semver" version "0.1.0"
}

Using legacy plugin application:

buildscript {
  repositories {
    maven {
      url "https://plugins.gradle.org/m2/"
    }
  }
  dependencies {
    classpath "gradle.plugin.eu.t-systems-mms.gradle.gitsemver:gradle-git-semver:0.1.0"
  }
}

apply plugin: "eu.t-systems-mms.git-semver"

Using the plugins DSL:

plugins {
  id("eu.t-systems-mms.git-semver") version "0.1.0"
}

Using legacy plugin application:

buildscript {
  repositories {
    maven {
      url = uri("https://plugins.gradle.org/m2/")
    }
  }
  dependencies {
    classpath("gradle.plugin.eu.t-systems-mms.gradle.gitsemver:gradle-git-semver:0.1.0")
  }
}

apply(plugin = "eu.t-systems-mms.git-semver")

Learn how to apply plugins to subprojects