Update adxetools.gradle

This commit is contained in:
deal 2022-01-17 10:57:48 +08:00 committed by GitHub
parent 2aa434ba86
commit 9c88866354
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 3 additions and 3 deletions

View File

@ -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]