We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent aa0d5b4 commit 1951286Copy full SHA for 1951286
build-tools-internal/build.gradle
@@ -386,10 +386,13 @@ tasks.named("jar") {
386
387
spotless {
388
java {
389
- // IDEs can sometimes run annotation processors that leave files in
390
- // here, causing Spotless to complain. Even though this path ought not
391
- // to exist, exclude it anyway in order to avoid spurious failures.
392
- toggleOffOn()
+
+ // workaround for https://github.com/diffplug/spotless/issues/2317
+ //toggleOffOn()
+ target project.fileTree("src/main/java") {
393
+ include '**/*.java'
394
+ exclude '**/DockerBase.java'
395
+ }
396
}
397
398
0 commit comments