Skip to content

Commit 49bea1d

Browse files
ribafishclaude
authored andcommitted
Exclude build output directories from nohttp source set
The checkstyleNohttp task scans the entire project tree for non-HTTPS URLs. Without excluding **/build/**, subproject build output directories generated during the first build become additional source inputs for subsequent builds, changing the cache key and causing cache misses. Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com> Signed-off-by: Gasper Kojek <gkojek@gradle.com>
1 parent baad23c commit 49bea1d

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
@@ -80,7 +80,7 @@ develocity {
8080
}
8181

8282
nohttp {
83-
source.exclude "buildSrc/build/**", "javascript/.gradle/**", "javascript/package-lock.json", "javascript/node_modules/**", "javascript/build/**", "javascript/dist/**"
83+
source.exclude "buildSrc/build/**", "**/build/**", "javascript/.gradle/**", "javascript/package-lock.json", "javascript/node_modules/**", "javascript/build/**", "javascript/dist/**"
8484
source.builtBy(project(':spring-security-config').tasks.withType(RncToXsd))
8585
}
8686

0 commit comments

Comments
 (0)