Fix building fatJar
This commit is contained in:
parent
c1004fb4f8
commit
6fbbf38a84
@ -76,8 +76,10 @@ task("fatJar", type = Jar::class) {
|
|||||||
"META-INF/*.RSA",
|
"META-INF/*.RSA",
|
||||||
"META-INF/NOTICE",
|
"META-INF/NOTICE",
|
||||||
"META-INF/LICENSE",
|
"META-INF/LICENSE",
|
||||||
|
"META-INF/INDEX.LIST",
|
||||||
"**/module-info.class"
|
"**/module-info.class"
|
||||||
)
|
)
|
||||||
|
duplicatesStrategy = DuplicatesStrategy.WARN
|
||||||
from(configurations.runtimeClasspath.get().map { if (it.isDirectory) it else zipTree(it) })
|
from(configurations.runtimeClasspath.get().map { if (it.isDirectory) it else zipTree(it) })
|
||||||
with(tasks.jar.get() as CopySpec)
|
with(tasks.jar.get())
|
||||||
}
|
}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user