Issue#100 Update to API based logic

This commit is contained in:
Gergely Hegedus 2022-07-13 20:18:45 +03:00
parent cc2b745d2e
commit 69f5f15c3a
3 changed files with 13 additions and 18 deletions

View file

@ -20,7 +20,7 @@ def findAdbFromLocal = {
def sdkDir = properties.getProperty('sdk.dir')
return "$sdkDir/platform-tools/adb"
} else {
System.err.println("WARNING: SDK dir not found by local properties, returning static: $System.env.HOME/Library/Android/sdk/platform-tools/adb")
println("WARNING: SDK dir not found by local properties, returning static: $System.env.HOME/Library/Android/sdk/platform-tools/adb")
return "$System.env.HOME/Library/Android/sdk/platform-tools/adb"
}
}