mirror of
https://github.com/AsamK/signal-cli
synced 2025-08-29 10:30:38 +00:00
Fix building fatJar
This commit is contained in:
parent
c1004fb4f8
commit
6fbbf38a84
1 changed files with 3 additions and 1 deletions
|
@ -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…
Add table
Add a link
Reference in a new issue