File tree Expand file tree Collapse file tree 1 file changed +11
-5
lines changed
Expand file tree Collapse file tree 1 file changed +11
-5
lines changed Original file line number Diff line number Diff line change @@ -266,13 +266,19 @@ allprojects {
266266}
267267
268268allprojects {
269- plugins.withId(" java-library" ) {
269+ plugins.withId(" maven-publish" ) {
270+
270271 plugins.apply (" signing" )
272+
271273 signing {
272- val signingKey = " ${project. findProperty(" signingKey" )} "
273- val signingPassword = " ${project. findProperty(" signingPassword" )} "
274+ val signingKey = " ${findProperty(" signingKey" )} "
275+ val signingPassword = " ${findProperty(" signingPassword" )} "
274276 useInMemoryPgpKeys(signingKey, signingPassword)
275- sign(publishing.publications[" base" ])
277+ afterEvaluate {
278+ for (publication in publishing.publications) {
279+ sign(publication)
280+ }
281+ }
276282 }
277283 }
278284}
@@ -316,7 +322,7 @@ allprojects {
316322 }
317323}
318324
319- apply (" ${ rootDir} /gradle/japicc.gradle.kts" )
325+ apply (" $rootDir /gradle/japicc.gradle.kts" )
320326
321327
322328/* ******************** build cache ******************** */
You can’t perform that action at this time.
0 commit comments