mirror of
https://github.com/Anuken/Mindustry.git
synced 2026-02-27 02:21:49 -08:00
Updated build files
This commit is contained in:
parent
7e7f95916b
commit
fdecd55278
2 changed files with 3 additions and 3 deletions
|
|
@ -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…
Add table
Add a link
Reference in a new issue