mirror of
https://codeberg.org/PGPainless/wkd-java.git
synced 2025-09-09 03:09:39 +02:00
No longer build fat jars, but rely on gradle application instead
This commit is contained in:
parent
85b49233e1
commit
d50df99946
2 changed files with 5 additions and 31 deletions
|
@ -35,20 +35,6 @@ test {
|
|||
useJUnitPlatform()
|
||||
}
|
||||
|
||||
|
||||
mainClassName = 'pgp.wkd.cli.WKDCLI'
|
||||
|
||||
jar {
|
||||
duplicatesStrategy(DuplicatesStrategy.EXCLUDE)
|
||||
manifest {
|
||||
attributes 'Main-Class': "$mainClassName"
|
||||
}
|
||||
|
||||
from {
|
||||
configurations.runtimeClasspath.collect { it.isDirectory() ? it : zipTree(it) }
|
||||
} {
|
||||
exclude "META-INF/*.SF"
|
||||
exclude "META-INF/*.DSA"
|
||||
exclude "META-INF/*.RSA"
|
||||
}
|
||||
}
|
||||
application {
|
||||
mainClass = 'pgp.wkd.cli.WKDCLI'
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue