We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 2b7fb7f commit 6aae25bCopy full SHA for 6aae25b
1 file changed
build.gradle
@@ -105,10 +105,15 @@ publishing {
105
}
106
107
signing {
108
- sign publishing.publications.maven
+ afterEvaluate { project ->
109
+ required { isReleaseVersion && gradle.taskGraph.hasTask("uploadArchives") }
110
+ def signingKey = findProperty("signingKey")
111
+ def signingPassword = findProperty("signingPassword")
112
+ useInMemoryPgpKeys(signingKey, signingPassword)
113
+ sign publishing.publications.mavenJava
114
+ }
115
116
-
117
javadoc {
118
if (JavaVersion.current().isJava9Compatible()) {
119
options.addBooleanOption('html5', true)
0 commit comments