proguard: cleanup unused parts
Signed-off-by: Jason A. Donenfeld <Jason@zx2c4.com>
This commit is contained in:
parent
0ba064ff48
commit
0797e99559
@ -34,7 +34,7 @@ android {
|
|||||||
release {
|
release {
|
||||||
minifyEnabled true
|
minifyEnabled true
|
||||||
shrinkResources true
|
shrinkResources true
|
||||||
proguardFiles "proguard-android-optimize.txt", "proguard-rules.pro"
|
proguardFiles "proguard-android-optimize.txt"
|
||||||
packagingOptions {
|
packagingOptions {
|
||||||
exclude "DebugProbesKt.bin"
|
exclude "DebugProbesKt.bin"
|
||||||
exclude "kotlin-tooling-metadata.json"
|
exclude "kotlin-tooling-metadata.json"
|
||||||
|
@ -1,7 +1,6 @@
|
|||||||
-allowaccessmodification
|
-allowaccessmodification
|
||||||
-dontpreverify
|
|
||||||
-dontusemixedcaseclassnames
|
-dontusemixedcaseclassnames
|
||||||
-dontskipnonpubliclibraryclasses
|
-dontobfuscate
|
||||||
-verbose
|
-verbose
|
||||||
|
|
||||||
-keepattributes *Annotation*
|
-keepattributes *Annotation*
|
||||||
|
14
ui/proguard-rules.pro
vendored
14
ui/proguard-rules.pro
vendored
@ -1,14 +0,0 @@
|
|||||||
# Squelch all warnings, they're harmless but ProGuard
|
|
||||||
# escalates them as errors.
|
|
||||||
-dontwarn sun.misc.Unsafe
|
|
||||||
|
|
||||||
# Fragment 1.2.4 allows Fragment classes to be obfuscated but
|
|
||||||
# databinding references in XML seem to not be rewritten to
|
|
||||||
# match, so we preserve the names as 1.2.3 did.
|
|
||||||
-if public class ** extends androidx.fragment.app.Fragment
|
|
||||||
-keep public class <1> {
|
|
||||||
public <init>();
|
|
||||||
}
|
|
||||||
|
|
||||||
# Don't obfuscate
|
|
||||||
-dontobfuscate
|
|
Loading…
Reference in New Issue
Block a user