diff --git a/build.gradle b/build.gradle index cd8eec3..8aae549 100644 --- a/build.gradle +++ b/build.gradle @@ -128,6 +128,8 @@ nexusPublishing { } signing { - useGpgCmd() + def signingKey = findProperty("signingKey") + def signingPassword = findProperty("signingPassword") + useInMemoryPgpKeys(signingKey, signingPassword) sign(publishing.publications) }