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.
2 parents d1cad8d + bc95655 commit 484cc05Copy full SHA for 484cc05
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