File tree Expand file tree Collapse file tree 1 file changed +10
-10
lines changed Expand file tree Collapse file tree 1 file changed +10
-10
lines changed Original file line number Diff line number Diff line change @@ -86,16 +86,6 @@ configure(subprojects.findAll { projectNamesToPublish.contains(it.name) }) {
8686 apply plugin : ' maven-publish'
8787 apply plugin : ' signing'
8888
89- signing {
90- if (hasSigningProperties()) {
91- String signingKey = new File (signingKeyFile). text
92- useInMemoryPgpKeys(signingKeyId, signingKey, signingPassword)
93- sign publishing. publications. mavenJava
94- } else {
95- println " Signing information missing/incomplete for ${ project.name} "
96- }
97- }
98-
9989 publishing {
10090 repositories {
10191 maven {
@@ -155,6 +145,16 @@ configure(subprojects.findAll { projectNamesToPublish.contains(it.name) }) {
155145 }
156146 }
157147 }
148+
149+ signing {
150+ if (hasSigningProperties()) {
151+ String signingKey = new File (signingKeyFile). text
152+ useInMemoryPgpKeys(signingKeyId, signingKey, signingPassword)
153+ sign publishing. publications. mavenJava
154+ } else {
155+ println " Signing information missing/incomplete for ${ project.name} "
156+ }
157+ }
158158}
159159
160160wrapper {
You can’t perform that action at this time.
0 commit comments