mirror of
https://github.com/Anuken/Mindustry.git
synced 2025-01-05 13:08:20 +07:00
Updated build files
This commit is contained in:
parent
7e7f95916b
commit
fdecd55278
@ -29,11 +29,11 @@ allprojects{
|
|||||||
arcHash = null
|
arcHash = null
|
||||||
|
|
||||||
debugged = {
|
debugged = {
|
||||||
return new File(projectDir.parent, '../debug').exists() && System.properties["release"] == null
|
return new File(projectDir.parent, '../debug').exists() && !project.hasProperty("release")
|
||||||
}
|
}
|
||||||
|
|
||||||
localArc = {
|
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 = {
|
getArcHash = {
|
||||||
|
@ -19,7 +19,7 @@ if(new File(settingsDir, 'local.properties').exists()){
|
|||||||
println("No local.properties found. Not loading Android module.")
|
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()) {
|
if (new File(settingsDir, '../Arc').exists()) {
|
||||||
use(':Arc', '../Arc')
|
use(':Arc', '../Arc')
|
||||||
use(':Arc:arc-core', '../Arc/arc-core')
|
use(':Arc:arc-core', '../Arc/arc-core')
|
||||||
|
Loading…
Reference in New Issue
Block a user