com.sarhanm.version-resolver
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.version-resolver") version "4.0.1"
}
Using legacy plugin application:
buildscript {
repositories {
maven {
url = uri("https://plugins.gradle.org/m2/")
}
}
dependencies {
classpath("com.sarhanm:gradle-versioner:4.0.1")
}
}
apply(plugin = "com.sarhanm.version-resolver")
Using the plugins DSL:
plugins {
id "com.sarhanm.version-resolver" version "4.0.1"
}
Using legacy plugin application:
buildscript {
repositories {
maven {
url "https://plugins.gradle.org/m2/"
}
}
dependencies {
classpath "com.sarhanm:gradle-versioner:4.0.1"
}
}
apply plugin: "com.sarhanm.version-resolver"