Skip to content

Commit 6735a2d

Browse files
committed
maven correct signing
1 parent 853ff4f commit 6735a2d

File tree

1 file changed

+7
-0
lines changed

1 file changed

+7
-0
lines changed

java-client/build.gradle.kts

+7
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)