Fix gradle free builds: use hasProperty

This commit is contained in:
drabux 2016-06-09 00:59:02 +02:00
parent 93bc61b197
commit 3070fc7210

View File

@ -73,5 +73,5 @@ task wrapper(type: Wrapper) {
// free build hack: common functions
def doFreeBuild() {
return System.properties["freeBuildHackDoFreeBuild"] == "true"
return hasProperty("freeBuild")
}