Skip to content

Commit b2668d7

Browse files
committedApr 15, 2025
maven correct signing
1 parent 2c31ab3 commit b2668d7

File tree

1 file changed

+7
-0
lines changed

1 file changed

+7
-0
lines changed
 

‎java-client/build.gradle.kts

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -190,6 +190,13 @@ publishing {
190190
}
191191
}
192192

193+
194+
signing {
195+
// Only sign if a key has been configured in gradle.properties
196+
isRequired = providers.gradleProperty("signing.keyId").isPresent
197+
sign(publishing.publications["maven"])
198+
}
199+
193200
dependencies {
194201
// Compile and test with the last 7.x version to make sure transition scenarios where
195202
// the Java API client coexists with a 7.x HLRC work fine

0 commit comments

Comments
 (0)