com.sarhanm.versioner
Owner: Mohammad Sarhan
Gradle plugin to allow versioning a project based on git metadata
https://github.com/sarhanm/gradle-versioner/wiki
Using the plugins DSL:
plugins {
id("com.sarhanm.versioner") version "2.0.10"
}
Using legacy plugin application:
buildscript {
repositories {
maven {
url = uri("https://plugins.gradle.org/m2/")
}
}
dependencies {
classpath("com.sarhanm:gradle-versioner:2.0.10")
}
}
apply(plugin = "com.sarhanm.versioner")
Using the plugins DSL:
plugins {
id "com.sarhanm.versioner" version "2.0.10"
}
Using legacy plugin application:
buildscript {
repositories {
maven {
url "https://plugins.gradle.org/m2/"
}
}
dependencies {
classpath "com.sarhanm:gradle-versioner:2.0.10"
}
}
apply plugin: "com.sarhanm.versioner"