com.github.gradle-git-version-calculator
所有者: Pawel
基于 Git 标签生成语义版本的 Gradle 插件
https://github.com/PawelJ-PL/gradle-git-version-calculator
源代码:https://github.com/PawelJ-PL/gradle-git-version-calculator.git
使用插件 DSL
plugins {
id("com.github.gradle-git-version-calculator") version "1.1.0"
}
使用基本插件应用
buildscript {
repositories {
maven {
url = uri("https://plugins.gradle.org.cn/m2/")
}
}
dependencies {
classpath("gradle.plugin.com.github.gradle-git-version-calculator:gradle-git-version-calculator:1.1.0")
}
}
apply(plugin = "com.github.gradle-git-version-calculator")
使用插件 DSL
plugins {
id "com.github.gradle-git-version-calculator" version "1.1.0"
}
使用基本插件应用
buildscript {
repositories {
maven {
url "https://plugins.gradle.org.cn/m2/"
}
}
dependencies {
classpath "gradle.plugin.com.github.gradle-git-version-calculator:gradle-git-version-calculator:1.1.0"
}
}
apply plugin: "com.github.gradle-git-version-calculator"