Working on signing config from non-dot properties.
@@ -13,10 +13,14 @@ archivesBaseName = 'jnats'
group = 'io.nats'
// Get signing properties set up from outside (env var can't handle the dot
-if (signing_keyId != null) {
- signing.keyId = signing_keyId
- signing.password = signing_password
- signing.secretKeyRingFile = signing_secretKeyRingFile
+if (project.hasProperty('signing_keyId')) {
+ signingConfigs {
+ release {
+ secretKeyRingFile project.getProperty('signing_secretKeyRingFile')
+ keyId project.getProperty('signing_keyId')
+ password project.getProperty('signing_password')
+ }
+ }
}
repositories {
