15 lines
473 B
Groovy
15 lines
473 B
Groovy
import java.nio.file.Paths
|
|
|
|
def folder = new File("${settingsDir}/../axmol")
|
|
if (folder.exists()) {
|
|
System.setProperty("AX_ROOT", folder.path)
|
|
} else {
|
|
System.setProperty("AX_ROOT", "${System.env.AX_ROOT}")
|
|
}
|
|
|
|
include ':libaxmol'
|
|
project(':libaxmol').projectDir = new File(Paths.get("${System.properties.AX_ROOT}/core/platform/android/libaxmol").toUri())
|
|
include ':Pinball'
|
|
project(':Pinball').projectDir = new File(settingsDir, 'app')
|
|
rootProject.name = "Pinball"
|