chore: Update AGP 8.2.1

This commit is contained in:
xtaodada 2024-03-17 10:41:10 +08:00
parent 41e317ace0
commit df39a904c1
Signed by: xtaodada
GPG Key ID: 4CBB3F4FA8C85659
7 changed files with 18 additions and 3 deletions

View File

@ -334,6 +334,7 @@ android {
packagingOptions {
jniLibs {
excludes += ['/fabric/**', '/META-INF/native-image/**']
useLegacyPackaging true
}
resources {
excludes += ['/fabric/**', '/META-INF/*.version', '/META-INF/*.kotlin_module', '/META-INF/native-image/**', '/builddef.lst', '/*.txt', '/DebugProbesKt.bin', '/okhttp3/internal/publicsuffix/NOTICE']

View File

@ -152,3 +152,11 @@
-dontwarn org.osmdroid.**
-keepattributes SourceFile,LineNumberTable
-dontwarn java.beans.**
-dontwarn java.lang.management.**
-dontwarn javax.swing.**
-dontwarn lombok.**
-dontwarn org.slf4j.**
-dontwarn org.w3c.dom.bootstrap.**
-dontwarn sun.net.spi.nameservice.**

View File

@ -128,7 +128,6 @@
android:allowBackup="true"
android:restoreAnyVersion="true"
android:backupAgent=".BackupAgent"
android:extractNativeLibs="true"
android:hardwareAccelerated="@bool/useHardwareAcceleration"
android:icon="@mipmap/ic_launcher_nagram"
android:label="@string/NekoX"

View File

@ -6,7 +6,7 @@ buildscript {
maven { url "https://plugins.gradle.org/m2/" }
}
dependencies {
classpath 'com.android.tools.build:gradle:7.4.2'
classpath 'com.android.tools.build:gradle:8.2.1'
classpath 'org.jetbrains.kotlin:kotlin-gradle-plugin:1.9.0'
classpath 'com.google.gms:google-services:4.4.1'
classpath 'com.google.firebase:firebase-crashlytics-gradle:2.9.9'

View File

@ -21,3 +21,7 @@ org.gradle.parallel=true
org.gradle.configureondemand=false
android.useAndroidX=true
android.enableJetifier=true
android.enableR8.fullMode=false
android.defaults.buildfeatures.buildconfig=true
android.nonTransitiveRClass=false
android.nonFinalResIds=false

View File

@ -1,6 +1,6 @@
#Wed Aug 17 16:55:16 CST 2022
distributionBase=GRADLE_USER_HOME
distributionUrl=https\://services.gradle.org/distributions/gradle-7.5.1-bin.zip
distributionUrl=https\://services.gradle.org/distributions/gradle-8.2-bin.zip
distributionPath=wrapper/dists
zipStorePath=wrapper/dists
zipStoreBase=GRADLE_USER_HOME

View File

@ -14,4 +14,7 @@ android {
abortOnError false
}
namespace 'org.openintents.openpgp'
buildFeatures {
aidl true
}
}