Fix gradle free builds: use hasProperty

This commit is contained in:
drabux 2016-06-09 00:59:02 +02:00
parent 93bc61b197
commit 3070fc7210
1 changed files with 1 additions and 1 deletions

View File

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