This is an automated email from the ASF dual-hosted git repository.

sigram pushed a commit to branch main
in repository https://gitbox.apache.org/repos/asf/solr.git

commit e55d2e7bcb23c84d18b6b0fac90ac264d2b0be63
Author: Andrzej BiaƂecki <[email protected]>
AuthorDate: Tue Sep 29 00:01:59 2026 +0200

    Exclude nested dot-dirs and .gradle dirs.
    
    (cherry picked from commit b29b61bcc163c6fb083666f3e5237d2b86d13833)
---
 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

Reply via email to