|
@@ -440,8 +440,9 @@ task ktlintFormat(type: JavaExec, group: "formatting") {
|
|
|
args "-F", "src/**/*.kt"
|
|
|
}
|
|
|
|
|
|
-task installGitHooks(type: Copy) {
|
|
|
- from('scripts/hooks') {
|
|
|
+task installGitHooks(type: Copy, group: "development") {
|
|
|
+ description = "Install git hooks"
|
|
|
+ from("${project.rootDir}/scripts/hooks") {
|
|
|
include '*'
|
|
|
}
|
|
|
into '.git/hooks'
|