feat(build): don't minify names in release builds
This commit is contained in:
parent
69e82dedc5
commit
7bfd654f2b
3 changed files with 7 additions and 11 deletions
|
|
@ -73,11 +73,7 @@ android {
|
|||
isShrinkResources = true
|
||||
isCrunchPngs = true
|
||||
signingConfig = signingConfigs.getByName("debug")
|
||||
proguardFiles(
|
||||
getDefaultProguardFile("proguard-android-optimize.txt"),
|
||||
"proguard-rules.pro",
|
||||
"proguard-rules-staging.pro",
|
||||
)
|
||||
proguardFiles(getDefaultProguardFile("proguard-android-optimize.txt"), "proguard-rules.pro")
|
||||
}
|
||||
}
|
||||
|
||||
|
|
|
|||
|
|
@ -1,2 +0,0 @@
|
|||
# Keeps all class and field names for debugging
|
||||
-keepnames class ** { *; }
|
||||
10
app/proguard-rules.pro
vendored
10
app/proguard-rules.pro
vendored
|
|
@ -35,10 +35,6 @@
|
|||
# Keep class names of patching steps since they're used via reflection
|
||||
-keepnames class com.aliucord.manager.patcher.steps.**
|
||||
|
||||
# Uncomment this to preserve the line number information for
|
||||
# debugging stack traces.
|
||||
-keepattributes SourceFile,LineNumberTable
|
||||
|
||||
# Repackage classes into the top-level.
|
||||
-repackageclasses
|
||||
|
||||
|
|
@ -51,3 +47,9 @@
|
|||
|
||||
# Suppress missing class warnings
|
||||
-dontwarn org.slf4j.impl.StaticLoggerBinder
|
||||
|
||||
# Keeps all class and field names for debugging
|
||||
-keepnames class ** { *; }
|
||||
|
||||
# Preserve the line number information for debugging stack traces.
|
||||
-keepattributes LineNumberTable
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue