summaryrefslogtreecommitdiffhomepage
diff options
context:
space:
mode:
authorHarsh Shandilya <me@msfjarvis.dev>2020-04-21 21:36:59 +0530
committerHarsh Shandilya <me@msfjarvis.dev>2020-04-21 21:36:59 +0530
commit751be2c469f427d1ff6f5f03067ca9391527e979 (patch)
tree45473c7832418c012f6a91dc25f74373f4e0db33
parentcfb7f1b0161778ce86c6fcd496bb3417ff30c17b (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>
-rw-r--r--ui/proguard-rules.pro6
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