com.olafmertens.git-version
Owner: Olaf Mertens
Set project version based on git tag.
https://github.com/olafmertens/gradle-git-version
Sources: https://github.com/olafmertens/gradle-git-version
Version 0.1.1 (latest)
0.1.1
Created 04 October 2018.
Set project version based on git tag.
Using the plugins DSL:
plugins {
id("com.olafmertens.git-version") version "0.1.1"
}
Using legacy plugin application:
buildscript {
repositories {
maven {
url = uri("https://plugins.gradle.org/m2/")
}
}
dependencies {
classpath("gradle.plugin.com.olafmertens.gradle:gradle-git-version:0.1.1")
}
}
apply(plugin = "com.olafmertens.git-version")
Using the plugins DSL:
plugins {
id "com.olafmertens.git-version" version "0.1.1"
}
Using legacy plugin application:
buildscript {
repositories {
maven {
url "https://plugins.gradle.org/m2/"
}
}
dependencies {
classpath "gradle.plugin.com.olafmertens.gradle:gradle-git-version:0.1.1"
}
}
apply plugin: "com.olafmertens.git-version"