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 115d059 commit bc4d8f1Copy full SHA for bc4d8f1
java/build.gradle
@@ -98,7 +98,7 @@ publishing {
98
}
99
100
signing {
101
- if (project.gradle.taskGraph.hasTask("publishToMavenCentral")) {
+ if (findProperty("signingKey") != null && findProperty("signingPassword") != null) {
102
def signingKey = findProperty("signingKey")
103
def signingPassword = findProperty("signingPassword")
104
useInMemoryPgpKeys(signingKey, signingPassword)
0 commit comments