com.github.knifemaster007.git-version
所有者: Ilia Galkin
插件允许从Git读取版本相关信息
https://github.com/KnifeMaster007
源代码: https://github.com/KnifeMaster007/git-version
使用插件DSL
plugins {
id("com.github.knifemaster007.git-version") version "0.1.5"
}
使用旧版插件应用
buildscript {
repositories {
maven {
url = uri("https://plugins.gradle.org.cn/m2/")
}
}
dependencies {
classpath("gradle.plugin.com.github.knifemaster007.git-version:git-version:0.1.5")
}
}
apply(plugin = "com.github.knifemaster007.git-version")
使用插件DSL
plugins {
id "com.github.knifemaster007.git-version" version "0.1.5"
}
使用旧版插件应用
buildscript {
repositories {
maven {
url "https://plugins.gradle.org.cn/m2/"
}
}
dependencies {
classpath "gradle.plugin.com.github.knifemaster007.git-version:git-version:0.1.5"
}
}
apply plugin: "com.github.knifemaster007.git-version"