com.github.arcticlampyrid.gradle-git-version
所有者: ArcticLampyrid
基于git信息设置版本的插件
https://github.com/ArcticLampyrid/gradle-git-version
源:https://github.com/ArcticLampyrid/gradle-git-version
使用 插件DSL
plugins {
id("com.github.arcticlampyrid.gradle-git-version") version "1.0.4"
}
使用 旧插件应用方式
buildscript {
repositories {
maven {
url = uri("https://plugins.gradle.org.cn/m2/")
}
}
dependencies {
classpath("com.github.arcticlampyrid:gradle-git-version:1.0.4")
}
}
apply(plugin = "com.github.arcticlampyrid.gradle-git-version")
使用 插件DSL
plugins {
id "com.github.arcticlampyrid.gradle-git-version" version "1.0.4"
}
使用 旧插件应用方式
buildscript {
repositories {
maven {
url "https://plugins.gradle.org.cn/m2/"
}
}
dependencies {
classpath "com.github.arcticlampyrid:gradle-git-version:1.0.4"
}
}
apply plugin: "com.github.arcticlampyrid.gradle-git-version"