mirror of
https://codeberg.org/PGPainless/wkd-java.git
synced 2024-11-22 07:12:05 +01: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'
|
||||
}
|
||||
|
|
|
@ -32,21 +32,9 @@ dependencies {
|
|||
implementation 'com.fasterxml.jackson.dataformat:jackson-dataformat-xml:2.13.1'
|
||||
implementation 'com.fasterxml.jackson.core:jackson-databind:2.13.1'
|
||||
}
|
||||
mainClassName = 'pgp.wkd.test_suite.Main'
|
||||
|
||||
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.test_suite.Main'
|
||||
}
|
||||
|
||||
test {
|
||||
|
|
Loading…
Reference in a new issue