[android] Reverted back R8 optimizations after testing

Signed-off-by: Alexander Borsuk <me@alex.bio>
This commit is contained in:
Alexander Borsuk 2022-06-12 18:26:50 +02:00 committed by Viktor Govako
parent a1991f313b
commit d7f59b92c4

View file

@ -9,7 +9,10 @@
# Enabling shrinking causes
# Execution failed for task ':minifyFdroidReleaseWithR8'.
# > com.android.tools.r8.CompilationFailedException: Compilation failed to complete
-dontshrink
# Optimizing leads to crashes like
# No pending exception expected: java.lang.ClassNotFoundException: Didn't find class "com.mapswithme.util.HttpClient"
# It requires to manually mark all methods and classes called from NDK.
-dontoptimize
-keepnames class * implements com.mapswithme.util.Gsonable {
!transient <fields>;