mirror of https://github.com/axmolengine/axmol.git
Update adxetools.gradle
This commit is contained in:
parent
2aa434ba86
commit
9c88866354
|
@ -111,11 +111,11 @@ class adxetools {
|
||||||
def foundNdkVer = properties['Pkg.Revision']
|
def foundNdkVer = properties['Pkg.Revision']
|
||||||
def ret = adxetools.compareVersion(foundNdkVer, ndkVer)
|
def ret = adxetools.compareVersion(foundNdkVer, ndkVer)
|
||||||
if(ret == 0) {
|
if(ret == 0) {
|
||||||
println("Using found ndk revision=$foundNdkVer")
|
println("Using found ndk (revision=$foundNdkVer,path=$ndkRoot)")
|
||||||
}
|
}
|
||||||
else if(ret > 0){
|
else if(ret > 0){
|
||||||
if(allowNewerNdk) {
|
if(allowNewerNdk) {
|
||||||
println("Using found newer ndk revision=$foundNdkVer, required is: ${ndkVer}")
|
println("Using found newer ndk (revision=$foundNdkVer,path=$ndkRoot), (minimum required is: ${ndkVer})")
|
||||||
ndkVer = foundNdkVer
|
ndkVer = foundNdkVer
|
||||||
}
|
}
|
||||||
else {
|
else {
|
||||||
|
@ -129,7 +129,7 @@ class adxetools {
|
||||||
}
|
}
|
||||||
else {
|
else {
|
||||||
ndkRoot = null
|
ndkRoot = null
|
||||||
println("The gradle will install ndk: $ndkVer automatically")
|
println("No installed ndk found, the gradle will install ndk: $ndkVer automatically")
|
||||||
}
|
}
|
||||||
|
|
||||||
def rets = new String[2]
|
def rets = new String[2]
|
||||||
|
|
Loading…
Reference in New Issue