From 2f6b7213781dd06d4c5140845def56ccd22a2617 Mon Sep 17 00:00:00 2001 From: Syrone Wong Date: Sat, 5 Feb 2022 07:20:58 +0800 Subject: [PATCH] upgrade gradle and AGP Signed-off-by: Syrone Wong --- app/build.gradle | 5 +---- build.gradle | 2 +- gradle/wrapper/gradle-wrapper.properties | 2 +- 3 files changed, 3 insertions(+), 6 deletions(-) diff --git a/app/build.gradle b/app/build.gradle index 623bff11..b34011bf 100644 --- a/app/build.gradle +++ b/app/build.gradle @@ -71,16 +71,13 @@ android { coreLibraryDesugaringEnabled true } packagingOptions { - doNotStrip "*/armeabi-v7a/libgojni.so" - doNotStrip "*/arm64-v8a/libgojni.so" - doNotStrip "*/x86/libgojni.so" - doNotStrip "*/x86_64/libgojni.so" jniLibs { // During installation, the installer decompresses the libraries, and the linker loads // the decompressed libraries at runtime; in this case, the APK would be smaller, but // installation time might be slightly longer. // We optimize for size to make users happy useLegacyPackaging = true + keepDebugSymbols += ['*/armeabi-v7a/libgojni.so', '*/arm64-v8a/libgojni.so', '*/x86/libgojni.so', '*/x86_64/libgojni.so'] } } splits { diff --git a/build.gradle b/build.gradle index d6f3b6fe..4295c62d 100644 --- a/build.gradle +++ b/build.gradle @@ -9,7 +9,7 @@ buildscript { } } dependencies { - classpath 'com.android.tools.build:gradle:7.0.4' + classpath 'com.android.tools.build:gradle:7.1.0' // NOTE: Do not place your application dependencies here; they belong // in the individual module build.gradle files } diff --git a/gradle/wrapper/gradle-wrapper.properties b/gradle/wrapper/gradle-wrapper.properties index 0f80bbf5..ffed3a25 100644 --- a/gradle/wrapper/gradle-wrapper.properties +++ b/gradle/wrapper/gradle-wrapper.properties @@ -1,5 +1,5 @@ distributionBase=GRADLE_USER_HOME distributionPath=wrapper/dists -distributionUrl=https\://services.gradle.org/distributions/gradle-7.0.2-bin.zip +distributionUrl=https\://services.gradle.org/distributions/gradle-7.2-bin.zip zipStoreBase=GRADLE_USER_HOME zipStorePath=wrapper/dists