Skip to content

Commit 43ea798

Browse files
chore: add style checks pre commit hook
1 parent 02502e6 commit 43ea798

File tree

1 file changed

+7
-0
lines changed

1 file changed

+7
-0
lines changed

settings.gradle.kts

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -23,6 +23,13 @@ gradleEnterprise {
2323

2424
gitHooks {
2525
preCommit {
26+
tasks("checkstyleMain")
27+
tasks("checkstyleTest")
28+
tasks("pmdMain")
29+
tasks("pmdTest")
30+
tasks("cpdJavaCheck")
31+
tasks("spotbugsMain")
32+
tasks("spotbugsTest")
2633
}
2734

2835
commitMsg {

0 commit comments

Comments
 (0)