Refactor spring-geoode/build.gradle to evaluate the Gradle project property 'jenkins' correctly.

This commit is contained in:
John Blum
2023-05-12 21:40:12 -07:00
parent 54ab0fb789
commit 29187eb3e3

View File

@@ -38,6 +38,10 @@ dependencies {
}
def isJenkins = project.hasProperty('jenkins')
? project.getProperty('jenkins')
: 'false';
test {
systemProperties['jenkins'] = System.getProperty('jenkins', 'false')
systemProperties['jenkins'] = "$isJenkins"
}