Skip to content

Commit e9a731c

Browse files
csteuerembewee
andcommitted
gradle: fix maven signature key presence check
Co-authored-by: Michael Winkler <michi.winkler@web.de>
1 parent 55b8fb0 commit e9a731c

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

build.gradle

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -67,7 +67,7 @@ mavenPublishing {
6767
publishToMavenCentral(SonatypeHost.CENTRAL_PORTAL)
6868

6969
// Only sign if publishing to Maven Central (not for local)
70-
if (project.hasProperty("signing.keyId")) {
70+
if (project.hasProperty("signingInMemoryKeyId") || project.hasProperty("signing.keyId")) {
7171
signAllPublications()
7272
}
7373
}

0 commit comments

Comments
 (0)