jdaugherty commented on code in PR #14133:
URL: https://github.com/apache/grails-core/pull/14133#discussion_r2044591681
##########
grails-gradle/build.gradle:
##########
@@ -0,0 +1,62 @@
+
+Properties props = new Properties()
+file('../gradle.properties').withInputStream {
+ props.load(it)
+}
+
+allprojects {
+ repositories {
+ // mavenLocal()
+ mavenCentral()
+ gradlePluginPortal()
+ }
+
+ for (Map.Entry<Object, Object> entry : props.entrySet()) {
+ project.ext[entry.key as String] = entry.value
+ }
+ apply from: rootProject.layout.projectDirectory.file('dependencies.gradle')
+}
+
+ext {
+ ext.isReleaseVersion =
Boolean.parseBoolean(System.getenv('GRAILS_PUBLISH_RELEASE'))
+ ext."signing.keyId" = project.findProperty("signing.keyId") ?:
System.getenv('SIGNING_KEY')
+ ext."signing.password" = project.findProperty("signing.password") ?:
System.getenv('SIGNING_PASSPHRASE')
+ ext."signing.secretKeyRingFile" =
project.findProperty("signing.secretKeyRingFile") ?:
"${System.properties['user.home']}${File.separator}.gnupg${File.separator}secring.gpg"
Review Comment:
for quoted keys you have to use ext, but not for isRelease version.
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: [email protected]
For queries about this service, please contact Infrastructure at:
[email protected]