diff --git a/pgp-cert-d-cli/build.gradle b/pgp-cert-d-cli/build.gradle index 96b652ab..bc89b5f1 100644 --- a/pgp-cert-d-cli/build.gradle +++ b/pgp-cert-d-cli/build.gradle @@ -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" } diff --git a/pgpainless-cli/build.gradle b/pgpainless-cli/build.gradle index 869eedf7..1c15f217 100644 --- a/pgpainless-cli/build.gradle +++ b/pgpainless-cli/build.gradle @@ -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")