From eafc6420f39fa7d6acfe214a7ef0ccf1cfd90e70 Mon Sep 17 00:00:00 2001 From: Uwe Schindler Date: Fri, 24 Jun 2022 19:42:42 +0200 Subject: [PATCH] Exclude Lucene's own JAR files from classpath entries in Eclipse config (#976) --- gradle/ide/eclipse.gradle | 2 +- lucene/CHANGES.txt | 6 ++++++ 2 files changed, 7 insertions(+), 1 deletion(-) diff --git a/gradle/ide/eclipse.gradle b/gradle/ide/eclipse.gradle index 4db9ae3ba6c..ffe88eafe3f 100644 --- a/gradle/ide/eclipse.gradle +++ b/gradle/ide/eclipse.gradle @@ -63,7 +63,7 @@ configure(rootProject) { sourceFolder.setExcludes(["module-info.java"]) return sourceFolder } - classpath.entries += jars.unique().findAll { location -> location.isFile() }.collect { location -> + classpath.entries += jars.unique().findAll { location -> location.isFile() && !(location.name ==~ /lucene-.*\.jar/) }.collect { location -> new LibEntry(location.toString()) } } diff --git a/lucene/CHANGES.txt b/lucene/CHANGES.txt index aead9611725..e0b2dda1f86 100644 --- a/lucene/CHANGES.txt +++ b/lucene/CHANGES.txt @@ -136,6 +136,12 @@ Other * GITHUB#922: Remove unused and confusing FacetField indexing options (Gautam Worah) +Build +--------------------- + +* GITHUB#976: Exclude Lucene's own JAR files from classpath entries in Eclipse config. + (Uwe Schindler) + ======================= Lucene 9.2.0 ======================= API Changes