Issue#100 Update to API based logic
This commit is contained in:
parent
cc2b745d2e
commit
69f5f15c3a
3 changed files with 13 additions and 18 deletions
|
|
@ -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"
|
||||
}
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue