Skip to content

Commit 84f78c9

Browse files
committed
build > improved signing
1 parent 7290a1d commit 84f78c9

File tree

1 file changed

+4
-6
lines changed

1 file changed

+4
-6
lines changed

build.gradle.kts

Lines changed: 4 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -265,13 +265,11 @@ allprojects {
265265
plugins.apply("signing")
266266

267267
signing {
268-
val signingKey = "${findProperty("signingKey")}"
269-
val signingPassword = "${findProperty("signingPassword")}"
268+
val signingKey: String? by project
269+
val signingPassword: String? by project
270270
useInMemoryPgpKeys(signingKey, signingPassword)
271-
afterEvaluate {
272-
for (publication in publishing.publications) {
273-
sign(publication)
274-
}
271+
publishing.publications.configureEach {
272+
sign(this)
275273
}
276274
}
277275
}

0 commit comments

Comments
 (0)