Skip to content

Apache Lucene open-source search software

LUCENE-10200: remove unused dangling license exclusions. Add references to the remaining ones.

Dawid Weiss62eb9a809e8e
diff --git a/gradle/validation/jar-checks.gradle b/gradle/validation/jar-checks.gradle
index f68f8a297c0..27bd4873575 100644
--- a/gradle/validation/jar-checks.gradle
+++ b/gradle/validation/jar-checks.gradle
@@ -304,7 +304,15 @@ configure(project(":lucene")) {
dependsOn validationTasks
ext {
- exclude = []
+ // Exclude files that are not a result of direct dependencies but have to be there.
+ // It would be probably better to move non-dependency licenses into the actual project
+ // where they're used and only assemble them for the distribution package.
+ exclude = [
+ // Used by Luke.
+ "elegant-icon-font-*",
+ // glove knn dictionary.
+ "pddl-10.txt",
+ ]
}
doFirst {
@@ -333,17 +341,3 @@ configure(project(":lucene")) {
licenses.dependsOn checkDanglingLicenseFiles
}
-
-// Exclude files that are not a result of direct dependencies but have to be there.
-// It would be probably better to move non-dependency licenses into the actual project
-// where they're used and only assemble them for the distribution package.
-configure(project(":lucene")) {
- checkDanglingLicenseFiles {
- exclude += [
- "elegant-icon-font-*",
- "ant-*",
- "ivy-*",
- "pddl-10.txt",
- ]
- }
-}