You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@lucene.apache.org by dw...@apache.org on 2021/10/27 18:40:51 UTC
[lucene] branch main updated: LUCENE-10200: remove unused dangling
license exclusions. Add references to the remaining ones.
This is an automated email from the ASF dual-hosted git repository.
dweiss pushed a commit to branch main
in repository https://gitbox.apache.org/repos/asf/lucene.git
The following commit(s) were added to refs/heads/main by this push:
new 62eb9a8 LUCENE-10200: remove unused dangling license exclusions. Add references to the remaining ones.
62eb9a8 is described below
commit 62eb9a809e8e6327df0006efd342b980b2d18bd9
Author: Dawid Weiss <da...@carrotsearch.com>
AuthorDate: Wed Oct 27 20:40:29 2021 +0200
LUCENE-10200: remove unused dangling license exclusions. Add references to the remaining ones.
---
gradle/validation/jar-checks.gradle | 24 +++++++++---------------
1 file changed, 9 insertions(+), 15 deletions(-)
diff --git a/gradle/validation/jar-checks.gradle b/gradle/validation/jar-checks.gradle
index f68f8a2..27bd487 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",
- ]
- }
-}