Improve gradle script

This commit is contained in:
halx99 2023-06-06 11:15:46 +08:00
parent 4ea68dd804
commit 2da66a8f1f
1 changed files with 1 additions and 1 deletions

View File

@ -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()) {