mirror of https://github.com/apache/lucene.git
LUCENE-10200: remove unused dangling license exclusions. Add references to the remaining ones.
This commit is contained in:
parent
abd5ec4ff0
commit
62eb9a809e
|
@ -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",
|
|
||||||
]
|
|
||||||
}
|
|
||||||
}
|
|
||||||
|
|
Loading…
Reference in New Issue