summaryrefslogtreecommitdiffstats
path: root/src/android
diff options
context:
space:
mode:
authorAssam Boudjelthia <assam.boudjelthia@qt.io>2021-10-06 12:29:09 +0300
committerAssam Boudjelthia <assam.boudjelthia@qt.io>2021-10-13 18:33:32 +0300
commit7235eeab19e7e50ba102938993acc04d14b58164 (patch)
tree4059df1b1212cac138bd47e77f6aff48b7435e7a /src/android
parentf7a4a79c62daeba9ab5545c5e0a1f36d5e1fce6b (diff)
Android: replace ndk.dir with android.ndkVersion in build.gradle
The use of ndk.dir in local.properties is deprecated in favor of android.ndkVersion in build.gradle, and will be totatlly removed in the future, so we need to adapt to that. Fixes: QTBUG-91391 Pick-to: 6.2 Change-Id: I54c57113a759d43c3685c9cdf2b9dcc5c948c0fd Reviewed-by: BogDan Vatra <bogdan@kdab.com> Reviewed-by: Rami Potinkara <rami.potinkara@qt.io>
Diffstat (limited to 'src/android')
-rw-r--r--src/android/templates/build.gradle2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/android/templates/build.gradle b/src/android/templates/build.gradle
index 5db1c67e5f..94e8196756 100644
--- a/src/android/templates/build.gradle
+++ b/src/android/templates/build.gradle
@@ -35,8 +35,8 @@ android {
*******************************************************/
compileSdkVersion androidCompileSdkVersion.toInteger()
-
buildToolsVersion androidBuildToolsVersion
+ ndkVersion androidNdkVersion
sourceSets {
main {