We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent d1cad8d commit bc95655Copy full SHA for bc95655
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