You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@solr.apache.org by md...@apache.org on 2023/11/23 01:10:54 UTC

(solr) branch main updated: exclude eclipse settings from validation (#2082)

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

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


The following commit(s) were added to refs/heads/main by this push:
     new 0560291a285 exclude eclipse settings from validation (#2082)
0560291a285 is described below

commit 0560291a285628e29ff7649d36897be972911342
Author: Matthias Cullmann <ma...@gmail.com>
AuthorDate: Thu Nov 23 02:10:48 2023 +0100

    exclude eclipse settings from validation (#2082)
---
 gradle/validation/rat-sources.gradle              | 1 +
 gradle/validation/validate-source-patterns.gradle | 5 ++++-
 2 files changed, 5 insertions(+), 1 deletion(-)

diff --git a/gradle/validation/rat-sources.gradle b/gradle/validation/rat-sources.gradle
index 3f81e3b4966..91f2278e249 100644
--- a/gradle/validation/rat-sources.gradle
+++ b/gradle/validation/rat-sources.gradle
@@ -60,6 +60,7 @@ allprojects {
 
             // Exclude Eclipse
             exclude ".metadata"
+            exclude ".settings"
 
             // Include selected patterns from any source folders. We could make this
             // relative to source sets but it seems to be of little value - all our source sets
diff --git a/gradle/validation/validate-source-patterns.gradle b/gradle/validation/validate-source-patterns.gradle
index 373bacbb8c9..ec44c804a9b 100644
--- a/gradle/validation/validate-source-patterns.gradle
+++ b/gradle/validation/validate-source-patterns.gradle
@@ -82,7 +82,10 @@ allprojects {
       exclude '**/build/**'
       exclude '**/.idea/**'
       exclude '**/.gradle/**'
-      exclude '.metadata/**'
+
+      // Exclude Eclipse
+      exclude ".metadata"
+      exclude ".settings"
 
       if (project == rootProject) {
         // ourselves :-)