com.github.jakemarsden.git-hooks
所有者: Jake Marsden
直接从Gradle构建脚本配置共享Git钩子
https://github.com/jakemarsden/git-hooks-gradle-plugin
来源: https://github.com/jakemarsden/git-hooks-gradle-plugin.git
使用插件DSL
plugins {
id("com.github.jakemarsden.git-hooks") version "0.0.2"
}
使用旧插件应用
buildscript {
repositories {
maven {
url = uri("https://plugins.gradle.org.cn/m2/")
}
}
dependencies {
classpath("com.github.jakemarsden:git-hooks-gradle-plugin:0.0.2")
}
}
apply(plugin = "com.github.jakemarsden.git-hooks")