mirror of
https://github.com/Anuken/Mindustry.git
synced 2025-01-03 13:30:25 +07:00
Updated build files
This commit is contained in:
parent
7e7f95916b
commit
fdecd55278
@ -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 = {
|
||||
|
@ -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')
|
||||
|
Loading…
Reference in New Issue
Block a user