Search Gradle plugins

de.timroes.git-version

Owner: Tim Roes

A simple gradle plugin to determine the version number from git.

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

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

Version 0.4.0 (latest)

0.4.0

Created 08 February 2016.

A simple gradle plugin to determine the version number from git.

Using the plugins DSL:

plugins {
  id("de.timroes.git-version") version "0.4.0"
}

Using legacy plugin application:

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

apply(plugin = "de.timroes.git-version")

Using the plugins DSL:

plugins {
  id "de.timroes.git-version" version "0.4.0"
}

Using legacy plugin application:

buildscript {
  repositories {
    maven {
      url "https://plugins.gradle.org/m2/"
    }
  }
  dependencies {
    classpath "gradle.plugin.de.timroes.gradle:git-version:0.4.0"
  }
}

apply plugin: "de.timroes.git-version"

Learn how to apply plugins to subprojects