Skip to content

Commit cbfe890

Browse files
committed
ant.home should be set with system env when it is null
1 parent 068189d commit cbfe890

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

main.gradle

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@ ant.importBuild(frameworkLocation) { antTargetName ->
77
'main.' + antTargetName
88
}
99

10-
if(ant.properties["ant.home"] != null) {
10+
if(ant.properties["ant.home"] == null) {
1111
ant.'ant.home'= System.env.'ANT_HOME'
1212
}
1313

0 commit comments

Comments
 (0)