Skip to content

Commit 3c27e4b

Browse files
siladuclaude
andcommitted
Exclude IntelliJ bin/default output from Spotless shell script check
When IntelliJ syncs a Gradle project without build delegation, it copies processed resources (including reference test shell scripts from the submodule) into bin/default/. Spotless then finds these copies and incorrectly flags them for missing license headers, while CI never sees bin/default/ since it runs bare Gradle. Add '**/bin/default/**' to the ShellScripts targetExclude, matching the existing pattern used for other generated/external content. Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com> Signed-off-by: Simon Dudley <simon.dudley@consensys.net>
1 parent 2d4f077 commit 3c27e4b

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

build.gradle

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -261,7 +261,7 @@ configure(allprojects - project(':platform')) {
261261
// Below this line are currently only license header tasks
262262
format 'ShellScripts', {
263263
target '**/*.sh'
264-
targetExclude '**/src/reference-test/**', '**/src/main/generated/**', '**/src/test/generated/**', '**/src/jmh/generated/**'
264+
targetExclude '**/src/reference-test/**', '**/src/main/generated/**', '**/src/test/generated/**', '**/src/jmh/generated/**', '**/bin/default/**'
265265
trimTrailingWhitespace()
266266
endWithNewline()
267267

0 commit comments

Comments
 (0)