io.freefair.git-version
Owner:
Lars Grefer
Git Version Plugin
https://docs.freefair.io/gradle-plugins/8.10/reference/
Sources: https://github.com/freefair/gradle-plugins
Version 2.0.2
2.0.2
Created 02 October 2017.
This plugin sets your latest git tag as project version
Using the plugins DSL:
plugins {
id("io.freefair.git-version") version "2.0.2"
}
Using legacy plugin application:
buildscript {
repositories {
maven {
url = uri("https://plugins.gradle.org/m2/")
}
}
dependencies {
classpath("io.freefair.gradle:gradle-plugins:2.0.2")
}
}
apply(plugin = "io.freefair.git-version")
Using the plugins DSL:
plugins {
id "io.freefair.git-version" version "2.0.2"
}
Using legacy plugin application:
buildscript {
repositories {
maven {
url "https://plugins.gradle.org/m2/"
}
}
dependencies {
classpath "io.freefair.gradle:gradle-plugins:2.0.2"
}
}
apply plugin: "io.freefair.git-version"