diff options
Diffstat (limited to 'src/android/templates/build.gradle')
-rw-r--r-- | src/android/templates/build.gradle | 10 |
1 files changed, 7 insertions, 3 deletions
diff --git a/src/android/templates/build.gradle b/src/android/templates/build.gradle index 443a800244..5d34ebb894 100644 --- a/src/android/templates/build.gradle +++ b/src/android/templates/build.gradle @@ -5,7 +5,7 @@ buildscript { } dependencies { - classpath 'com.android.tools.build:gradle:3.6.0' + classpath 'com.android.tools.build:gradle:7.0.2' } } @@ -34,9 +34,12 @@ android { * Changing them manually might break the compilation! *******************************************************/ - compileSdkVersion androidCompileSdkVersion.toInteger() + compileSdkVersion androidCompileSdkVersion + buildToolsVersion androidBuildToolsVersion + ndkVersion androidNdkVersion - buildToolsVersion '28.0.3' + // Extract native libraries from the APK + packagingOptions.jniLibs.useLegacyPackaging true sourceSets { main { @@ -73,5 +76,6 @@ android { resConfig "en" minSdkVersion = qtMinSdkVersion targetSdkVersion = qtTargetSdkVersion + ndk.abiFilters = qtTargetAbiList.split(",") } } |