update r8 rules

This commit is contained in:
5ec1cff
2024-10-04 11:18:50 +08:00
parent a316fa049b
commit 75e6f5068a
2 changed files with 9 additions and 21 deletions

View File

@@ -38,6 +38,11 @@ android {
buildConfig = true
viewBinding = true
}
packaging {
resources {
excludes += "**"
}
}
}
dependencies {

View File

@@ -1,21 +1,4 @@
# Add project specific ProGuard rules here.
# You can control the set of applied configuration files using the
# proguardFiles setting in build.gradle.
#
# For more details, see
# http://developer.android.com/guide/developing/tools/proguard.html
# If your project uses WebView with JS, uncomment the following
# and specify the fully qualified class name to the JavaScript interface
# class:
#-keepclassmembers class fqcn.of.javascript.interface.for.webview {
# public *;
#}
# Uncomment this to preserve the line number information for
# debugging stack traces.
#-keepattributes SourceFile,LineNumberTable
# If you keep the line number information, uncomment this to
# hide the original source file name.
#-renamesourcefileattribute SourceFile
-repackageclasses
-allowaccessmodification
-overloadaggressively
-renamesourcefileattribute