Add method to check for existance of NDK
This commit is contained in:
parent
5cfd1c812b
commit
c965e4066d
@ -116,6 +116,15 @@ String findNDK() {
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
boolean ndkExists() {
|
||||||
|
String ndkCommandPath = findNDK()
|
||||||
|
if (ndkCommandPath != null && new File(ndkCommandPath).exists()) {
|
||||||
|
return true
|
||||||
|
} else {
|
||||||
|
return false
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
//class IncrementalReverseTask extends DefaultTask {
|
//class IncrementalReverseTask extends DefaultTask {
|
||||||
// @InputDirectory
|
// @InputDirectory
|
||||||
// def File inputDir
|
// def File inputDir
|
||||||
|
Loading…
x
Reference in New Issue
Block a user