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 5.2.1
5.2.1
Created 07 September 2020.
This plugin sets your latest git tag as project version
Using the plugins DSL:
plugins {
id("io.freefair.git-version") version "5.2.1"
}
Using legacy plugin application:
buildscript {
repositories {
maven {
url = uri("https://plugins.gradle.org/m2/")
}
}
dependencies {
classpath("io.freefair.gradle:git-plugin:5.2.1")
}
}
apply(plugin = "io.freefair.git-version")
Using the plugins DSL:
plugins {
id "io.freefair.git-version" version "5.2.1"
}
Using legacy plugin application:
buildscript {
repositories {
maven {
url "https://plugins.gradle.org/m2/"
}
}
dependencies {
classpath "io.freefair.gradle:git-plugin:5.2.1"
}
}
apply plugin: "io.freefair.git-version"