diff --git a/build.gradle b/build.gradle index be310328..850664fe 100644 --- a/build.gradle +++ b/build.gradle @@ -218,11 +218,12 @@ prodProjects { } signing { - sign configurations.archives + sign(publishing.publications["mavenJava"]) } } -tasks.named('signArchives').configure { +//tasks.named('signArchives').configure { +tasks.named('signMavenJavaPublication').configure { onlyIf { !project.hasProperty('skipSigning') || !project.skipSigning.toBoolean() }