Skip to content

Commit 7942f5b

Browse files
committed
cleanup docs
1 parent 6c71934 commit 7942f5b

File tree

12 files changed

+38
-1150
lines changed

12 files changed

+38
-1150
lines changed

add-licence.sh

+1
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
./gradlew licenseFormat

add-license.bat

+1
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
./gradlew licenseFormat

build.gradle.kts

+14-2
Original file line numberDiff line numberDiff line change
@@ -129,7 +129,7 @@ subprojects {
129129
license {
130130
include("**/*.kt")
131131
include("**/*.java")
132-
header(rootProject.file("copyright/COPYRIGHT_HEADER.txt"))
132+
header(rootProject.file("docs/copyright/COPYRIGHT_HEADER.txt"))
133133
}
134134

135135
publishing {
@@ -162,4 +162,16 @@ subprojects {
162162
}
163163
}
164164

165-
}
165+
}
166+
167+
allprojects {
168+
tasks.register<Copy>("installLocalGitHook") {
169+
from(File(rootProject.rootDir, "pre-commit"))
170+
into(File(rootProject.rootDir, ".git/hooks"))
171+
fileMode = 775
172+
}
173+
174+
tasks.named("build") {
175+
dependsOn("installLocalGitHook")
176+
}
177+
}

cfgDesign.md

-311
This file was deleted.

0 commit comments

Comments
 (0)