Fix build deprecation warnings about duplicate jar entries
See gh-25116
This commit is contained in:
committed by
Stephane Nicoll
parent
d12bb6f915
commit
4937547b8a
@@ -107,7 +107,10 @@ task fullJar(type: Jar) {
|
||||
into "BOOT-INF/classes"
|
||||
}
|
||||
into("") {
|
||||
from zipTree(configurations.loader.singleFile)
|
||||
from(zipTree(configurations.loader.singleFile)) {
|
||||
exclude "META-INF/LICENSE.txt"
|
||||
exclude "META-INF/NOTICE.txt"
|
||||
}
|
||||
}
|
||||
manifest {
|
||||
attributes(
|
||||
|
||||
Reference in New Issue
Block a user