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>
This commit is contained in:
+1
-1
@@ -80,7 +80,7 @@ develocity {
|
||||
}
|
||||
|
||||
nohttp {
|
||||
source.exclude "buildSrc/build/**", "javascript/.gradle/**", "javascript/package-lock.json", "javascript/node_modules/**", "javascript/build/**", "javascript/dist/**"
|
||||
source.exclude "buildSrc/build/**", "**/build/**", "javascript/.gradle/**", "javascript/package-lock.json", "javascript/node_modules/**", "javascript/build/**", "javascript/dist/**"
|
||||
source.builtBy(project(':spring-security-config').tasks.withType(RncToXsd))
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user