aboutsummaryrefslogtreecommitdiff
path: root/wallet
diff options
context:
space:
mode:
Diffstat (limited to 'wallet')
-rw-r--r--wallet/proguard-rules.pro15
1 files changed, 14 insertions, 1 deletions
diff --git a/wallet/proguard-rules.pro b/wallet/proguard-rules.pro
index 1d5228e..147334d 100644
--- a/wallet/proguard-rules.pro
+++ b/wallet/proguard-rules.pro
@@ -38,8 +38,21 @@
-keep class * extends com.fasterxml.** { *; }
-keep class * implements com.fasterxml.** { *; }
+-keep class * {
+ @com.fasterxml.** *;
+}
+
# KotlinX serialization
-- keep @kotlinx.serialization.Serializable class * { *; }
+-keep @kotlinx.serialization.Serializable class * { *; }
+
+# Kotlin reflection
+-dontwarn kotlin.reflect.**
+-keep class kotlin.** { *; }
+-keep class org.jetbrains.annotations.** { *; }
+
# General
-keepattributes SourceFile,LineNumberTable,*Annotation*,EnclosingMethod,Signature,Exceptions,InnerClasses
+-dontobfuscate
+-dontoptimize
+-dontshrink \ No newline at end of file