Search Gradle plugins

com.palantir.git-version

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

https://github.com/palantir/gradle-git-version

Sources: https://github.com/palantir/gradle-git-version

Version 0.12.0-rc1

0.12.0-rc1

Created 25 April 2018.

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

Using the plugins DSL:

plugins {
  id("com.palantir.git-version") version "0.12.0-rc1"
}

Using legacy plugin application:

buildscript {
  repositories {
    maven {
      url = uri("https://plugins.gradle.org/m2/")
    }
  }
  dependencies {
    classpath("gradle.plugin.com.palantir.gradle.gitversion:gradle-git-version:0.12.0-rc1")
  }
}

apply(plugin = "com.palantir.git-version")

Using the plugins DSL:

plugins {
  id "com.palantir.git-version" version "0.12.0-rc1"
}

Using legacy plugin application:

buildscript {
  repositories {
    maven {
      url "https://plugins.gradle.org/m2/"
    }
  }
  dependencies {
    classpath "gradle.plugin.com.palantir.gradle.gitversion:gradle-git-version:0.12.0-rc1"
  }
}

apply plugin: "com.palantir.git-version"

Learn how to apply plugins to subprojects