com.sarhanm.version-resolver
所有者: Mohammad Sarhan
Gradle 插件,允许根据 git 元数据对项目进行版本控制
https://github.com/sarhanm/gradle-versioner/wiki
使用plugins DSL
plugins {
id("com.sarhanm.version-resolver") version "4.1.9"
}
使用旧插件应用
buildscript {
repositories {
maven {
url = uri("https://plugins.gradle.org.cn/m2/")
}
}
dependencies {
classpath("com.sarhanm:gradle-versioner:4.1.9")
}
}
apply(plugin = "com.sarhanm.version-resolver")
使用plugins DSL
plugins {
id "com.sarhanm.version-resolver" version "4.1.9"
}
使用旧插件应用
buildscript {
repositories {
maven {
url "https://plugins.gradle.org.cn/m2/"
}
}
dependencies {
classpath "com.sarhanm:gradle-versioner:4.1.9"
}
}
apply plugin: "com.sarhanm.version-resolver"