Search Gradle plugins

com.bulwinkel.gradle.git-version

Exposes customizable version information to your project based on your git repository.

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

Version 0.3.0

Created 22 July 2018.

Exposes customizable version information to your project based on your git repository.

Using the plugins DSL:

plugins {
  id "com.bulwinkel.gradle.git-version" version "0.3.0"
}

Using legacy plugin application:

buildscript {
  repositories {
    maven {
      url "https://plugins.gradle.org/m2/"
    }
  }
  dependencies {
    classpath "gradle.plugin.com.bulwinkel.gradle:git-version:0.3.0"
  }
}

apply plugin: "com.bulwinkel.gradle.git-version"

Using the plugins DSL:

plugins {
  id("com.bulwinkel.gradle.git-version") version "0.3.0"
}

Using legacy plugin application:

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

apply(plugin = "com.bulwinkel.gradle.git-version")

Learn how to apply plugins to subprojects