diff --git a/build.gradle b/build.gradle index beff2b5..33b2cf6 100644 --- a/build.gradle +++ b/build.gradle @@ -171,6 +171,7 @@ signing { def signingKey = findProperty("signingKey") def signingPassword = findProperty("signingPassword") + if (signingKey && signingPassword) { useInMemoryPgpKeys(signingKey as String, signingPassword as String) sign publishing.publications.mavenJava