com.github.ivankohut.git-branch-checks
所有者: Ivan Kohut
验证当前git分支的一些属性
https://github.com/ivankohut/git-branch-checks
源代码: https://github.com/ivankohut/gradle-branch-checks.git
使用插件DSL
plugins {
id("com.github.ivankohut.git-branch-checks") version "0.0.4"
}
使用传统插件应用
buildscript {
repositories {
maven {
url = uri("https://plugins.gradle.org.cn/m2/")
}
}
dependencies {
classpath("com.github.ivankohut:git-branch-checks:0.0.4")
}
}
apply(plugin = "com.github.ivankohut.git-branch-checks")
使用插件DSL
plugins {
id "com.github.ivankohut.git-branch-checks" version "0.0.4"
}
使用传统插件应用
buildscript {
repositories {
maven {
url "https://plugins.gradle.org.cn/m2/"
}
}
dependencies {
classpath "com.github.ivankohut:git-branch-checks:0.0.4"
}
}
apply plugin: "com.github.ivankohut.git-branch-checks"