Pārlūkot izejas kodu

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>
master
Harsh Shandilya pirms 4 gadiem
vecāks
revīzija
751be2c469
Šim parakstam datu bāzē netika atrasta zināma atslēga GPG atslēgas ID: 366D7BBAD1031E80
1 mainītis faili ar 3 papildinājumiem un 3 dzēšanām
  1. +3
    -3
      ui/proguard-rules.pro

+ 3
- 3
ui/proguard-rules.pro Parādīt failu

@@ -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

Notiek ielāde…
Atcelt
Saglabāt