From 63543262573b1909aa342ebd1d47ba91ddbc129e Mon Sep 17 00:00:00 2001 From: Steve Ebersole Date: Thu, 5 Dec 2024 01:14:46 -0600 Subject: [PATCH] HHH-18912 - Fix ORM release process --- build.gradle | 13 ++++++++++++- 1 file changed, 12 insertions(+), 1 deletion(-) diff --git a/build.gradle b/build.gradle index 291bb36f9d..b2d10c0ca8 100644 --- a/build.gradle +++ b/build.gradle @@ -71,7 +71,18 @@ String extractPropertyOrSetting(String name) { if ( project.hasProperty( name) ) { return project.property( name ) } - return System.getProperty( name ) + + def sysProp = System.getProperty( name ) + if ( sysProp != null ) { + return sysProp + } + + def envProp = System.getenv( name ) + if ( envProp != null ) { + return envProp + } + + return null } nexusPublishing {