We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent bc517e3 commit a61f627Copy full SHA for a61f627
1 file changed
build.gradle
@@ -159,7 +159,8 @@ nexusPublishing {
159
// to publish to local maven repo skip signing: ./gradlew publishToMavenLocal -x signGraphqlJavaPublication
160
signing {
161
def signingKey = System.getenv("MAVEN_CENTRAL_PGP_KEY")
162
- useInMemoryPgpKeys(signingKey, "")
+ def signingPassword = System.getenv("MAVEN_CENTRAL_PGP_PASSWORD")
163
+ useInMemoryPgpKeys(signingKey, signingPassword == null ? "" : signingPassword)
164
sign publishing.publications
165
}
166
0 commit comments