Skip to content

armgit / solr

Public Imported from GitHub
0

Apache Solr open-source search software

build/RAT: bring back exclusion of .gradle/**

David Smiley12bf80a518dd
diff --git a/gradle/validation/rat-sources.gradle b/gradle/validation/rat-sources.gradle
index 4e01a0e93ab..a971e91effe 100644
--- a/gradle/validation/rat-sources.gradle
+++ b/gradle/validation/rat-sources.gradle
@@ -123,6 +123,8 @@ allprojects {
// validates input/output overlaps at configuration time before the git
// filter closure runs, so this must be excluded explicitly.
exclude project.layout.buildDirectory.get().asFile.name
+ // similarly, at least one subproject writes to .gradle/ for config/setup
+ exclude ".gradle/**"
// Don't check any of the subprojects - they have their own rat tasks.
exclude subprojects.collect {it.projectDir.name}