1
0
Fork 0
mirror of https://github.com/pgpainless/pgpainless.git synced 2024-11-14 16:32:06 +01:00

Fix inter-module dependencies for jar task

This commit is contained in:
Paul Schaub 2022-01-31 19:41:43 +01:00
parent 603c67127d
commit e817aaef4c
Signed by: vanitasvitae
GPG key ID: 62BEE9264BF17311
2 changed files with 2 additions and 2 deletions

View file

@ -32,6 +32,7 @@ test {
mainClassName = 'pgp.cert_d.cli.PGPCertDCli'
jar {
dependsOn(":pgpainless-cert-d:assemble", ":pgp-certificate-store:assemble", ":pgp-cert-d-java:assemble", ":pgpainless-core:assemble")
manifest {
attributes 'Main-Class': "$mainClassName"
}

View file

@ -49,6 +49,7 @@ dependencies {
mainClassName = 'org.pgpainless.cli.PGPainlessCLI'
jar {
dependsOn(":pgpainless-core:assemble", ":pgpainless-sop:assemble")
duplicatesStrategy(DuplicatesStrategy.EXCLUDE)
manifest {
attributes 'Main-Class': "$mainClassName"
@ -71,5 +72,3 @@ run {
args Eval.me(appArgs)
}
}
tasks."jar".dependsOn(":pgpainless-core:assemble", ":pgpainless-sop:assemble")