diff options
author | Harsh Shandilya <me@msfjarvis.dev> | 2020-04-21 21:36:59 +0530 |
---|---|---|
committer | Harsh Shandilya <me@msfjarvis.dev> | 2020-04-21 21:36:59 +0530 |
commit | 751be2c469f427d1ff6f5f03067ca9391527e979 (patch) | |
tree | 45473c7832418c012f6a91dc25f74373f4e0db33 /ui | |
parent | cfb7f1b0161778ce86c6fcd496bb3417ff30c17b (diff) |
build: don't obfuscate code in minify step
While Play Console correctly manages to deobfuscate stacktraces using the
ProGuard mapping, it makes user recorded logs useless which is rather
undesirable.
Signed-off-by: Harsh Shandilya <me@msfjarvis.dev>
Diffstat (limited to 'ui')
-rw-r--r-- | ui/proguard-rules.pro | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/ui/proguard-rules.pro b/ui/proguard-rules.pro index fc3eb888..d7864f48 100644 --- a/ui/proguard-rules.pro +++ b/ui/proguard-rules.pro @@ -2,9 +2,6 @@ # escalates them as errors. -dontwarn sun.misc.Unsafe -# Retain some information to keep stacktraces usable --keepattributes SourceFile,LineNumberTable - # 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. @@ -12,3 +9,6 @@ -keep public class <1> { public <init>(); } + +# Don't obfuscate +-dontobfuscate |