Skip to content

Commit d7c5da9

Browse files
Added back logs for missing credentials to build.gradle.kts
Co-authored-by: Matthew Pope <81593196+popematt@users.noreply.github.com>
1 parent f03110e commit d7c5da9

1 file changed

Lines changed: 3 additions & 1 deletion

File tree

‎build.gradle.kts‎

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -635,7 +635,9 @@ afterEvaluate {
635635
val signingKey: String? by project
636636
val signingPassword: String? by project
637637

638-
if (!signingKeyId.isNullOrEmpty() && !signingKey.isNullOrEmpty() && !signingPassword.isNullOrEmpty()) {
638+
if (signingKeyId.isNullOrEmpty() || signingKey.isNullOrEmpty() || signingPassword.isNullOrEmpty()) {
639+
logger.lifecycle("signing credentials unavailable; build artifacts will not be signed")
640+
} else {
639641
signing.useInMemoryPgpKeys(signingKeyId, signingKey, signingPassword)
640642
}
641643
}

0 commit comments

Comments
 (0)