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

This commit is contained in:
Dawid Weiss 2021-10-27 20:40:29 +02:00
parent abd5ec4ff0
commit 62eb9a809e
1 changed files with 9 additions and 15 deletions

View File

@ -304,7 +304,15 @@ configure(project(":lucene")) {
dependsOn validationTasks dependsOn validationTasks
ext { 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 { doFirst {
@ -333,17 +341,3 @@ configure(project(":lucene")) {
licenses.dependsOn checkDanglingLicenseFiles 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",
]
}
}