mirror of https://github.com/axmolengine/axmol.git
Improve gradle script
This commit is contained in:
parent
4ea68dd804
commit
2da66a8f1f
|
@ -99,9 +99,9 @@ class axutils {
|
|||
try {
|
||||
localProps.load(project.rootProject.file("local.properties").newDataInputStream())
|
||||
sdkRoot = localProps.getProperty("sdk.dir")
|
||||
println("Using sdk.dir=$sdkRoot from local.properties")
|
||||
}
|
||||
catch(Exception ex) {
|
||||
ex.printStackTrace()
|
||||
}
|
||||
|
||||
if (sdkRoot == null || !new File(sdkRoot).isDirectory()) {
|
||||
|
|
Loading…
Reference in New Issue