Skip to content

Commit 30cb975

Browse files
authored
build: make spotless run more reliably (#358)
1 parent 424e8b3 commit 30cb975

File tree

2 files changed

+2
-1
lines changed

2 files changed

+2
-1
lines changed

.gitignore

+1
Original file line numberDiff line numberDiff line change
@@ -11,3 +11,4 @@ out/**
1111
.pmdCache
1212

1313
*/bin
14+
.metals

build.gradle.kts

+1-1
Original file line numberDiff line numberDiff line change
@@ -62,10 +62,10 @@ allprojects {
6262
configure<SpotlessExtension> {
6363
kotlinGradle { ktfmt().googleStyle() }
6464
java {
65+
target("src/*/java/**/*.java")
6566
googleJavaFormat()
6667
removeUnusedImports()
6768
trimTrailingWhitespace()
68-
targetExclude("**/build/**")
6969
}
7070
}
7171
}

0 commit comments

Comments
 (0)