axmol/tests/fairygui-tests/proj.android/settings.gradle

20 lines
697 B
Groovy
Raw Normal View History

import java.nio.file.Paths
import java.nio.file.Files
def ENGINE_ROOT=Paths.get("${System.env.AX_ROOT}")
if(Files.exists(ENGINE_ROOT)) {
println("Determine ENGINE_JAVA_LIBPATH with system env var AX_ROOT")
ENGINE_ROOT = ENGINE_ROOT.toAbsolutePath().toString()
}
else {
println("Determine ENGINE_JAVA_LIBPATH with relative to settingsDir")
ENGINE_ROOT = settingsDir.getPath() + "/../../.."
}
2022-08-08 18:02:17 +08:00
def ENGINE_JAVA_LIBPATH = ENGINE_ROOT + '/core/platform/android/libaxys1';
2022-08-08 18:02:17 +08:00
include ':libaxys1'
project(':libaxys1').projectDir = new File(ENGINE_JAVA_LIBPATH)
include ':FairyGUITests'
project(':FairyGUITests').projectDir = new File(settingsDir, 'app')
rootProject.name = "fairygui-tests"