This is an automated email from the ASF dual-hosted git repository.
asf-gitbox-commits pushed a commit to branch branch_10_1
in repository https://gitbox.apache.org/repos/asf/solr.git
The following commit(s) were added to refs/heads/branch_10_1 by this push:
new b29b61bcc16 Exclude nested dot-dirs and .gradle dirs.
b29b61bcc16 is described below
commit b29b61bcc163c6fb083666f3e5237d2b86d13833
Author: Andrzej BiaĆecki <[email protected]>
AuthorDate: Tue Sep 29 00:01:59 2026 +0200
Exclude nested dot-dirs and .gradle dirs.
---
gradle/validation/rat-sources.gradle | 4 +++-
1 file changed, 3 insertions(+), 1 deletion(-)
diff --git a/gradle/validation/rat-sources.gradle
b/gradle/validation/rat-sources.gradle
index 93367c13b84..6b256f40044 100644
--- a/gradle/validation/rat-sources.gradle
+++ b/gradle/validation/rat-sources.gradle
@@ -119,11 +119,13 @@ allprojects {
exclude "dev-docs"
exclude "**/AGENTS.md"
exclude "**/.*" // e.g. .gradle, .github, .gitignore, etc.
+ exclude "**/.*/**" // contents nested inside dot-directories, e.g.
.gradle/**
} else {
// Source release (no git): scan everything, exclude generated/ignored
paths manually.
include "**"
- exclude ".gradle" // gradle will create this dir
+ exclude "**/.gradle" // gradle will create this dir (possibly nested,
e.g. in included builds)
+ exclude "**/.gradle/**"
}
exclude project.layout.buildDirectory.get().asFile.name