Fix gradle free builds: use hasProperty
This commit is contained in:
parent
93bc61b197
commit
3070fc7210
|
@ -73,5 +73,5 @@ task wrapper(type: Wrapper) {
|
|||
|
||||
// free build hack: common functions
|
||||
def doFreeBuild() {
|
||||
return System.properties["freeBuildHackDoFreeBuild"] == "true"
|
||||
return hasProperty("freeBuild")
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue