Updated build files

This commit is contained in:
Anuken 2019-03-23 13:40:13 -04:00
parent 7e7f95916b
commit fdecd55278
2 changed files with 3 additions and 3 deletions

View File

@ -29,11 +29,11 @@ allprojects{
arcHash = null
debugged = {
return new File(projectDir.parent, '../debug').exists() && System.properties["release"] == null
return new File(projectDir.parent, '../debug').exists() && !project.hasProperty("release")
}
localArc = {
return (System.properties["release"] == null || System.properties["release"] == "false") && new File(projectDir.parent, '../Arc').exists()
return (!project.hasProperty("release")) && new File(projectDir.parent, '../Arc').exists()
}
getArcHash = {

View File

@ -19,7 +19,7 @@ if(new File(settingsDir, 'local.properties').exists()){
println("No local.properties found. Not loading Android module.")
}
if(System.properties["release"] == null || System.properties["release"] == "false"){
if(!hasProperty("release")){
if (new File(settingsDir, '../Arc').exists()) {
use(':Arc', '../Arc')
use(':Arc:arc-core', '../Arc/arc-core')