summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--.idea/compiler.xml2
-rw-r--r--wallet/proguard-rules.pro6
2 files changed, 8 insertions, 0 deletions
diff --git a/.idea/compiler.xml b/.idea/compiler.xml
index 2b48706..b209367 100644
--- a/.idea/compiler.xml
+++ b/.idea/compiler.xml
@@ -12,6 +12,8 @@
<entry name="!?*.clj" />
</wildcardResourcePatterns>
<bytecodeTargetLevel>
+ <module name="common_jvmMain" target="1.6" />
+ <module name="common_jvmTest" target="1.6" />
<module name="taler-kotlin-common_jvmMain" target="1.6" />
<module name="taler-kotlin-common_jvmTest" target="1.6" />
</bytecodeTargetLevel>
diff --git a/wallet/proguard-rules.pro b/wallet/proguard-rules.pro
index 08a1750..1d5228e 100644
--- a/wallet/proguard-rules.pro
+++ b/wallet/proguard-rules.pro
@@ -35,5 +35,11 @@
public static final com.fasterxml.jackson.annotation.JsonAutoDetect$Visibility *;
}
+-keep class * extends com.fasterxml.** { *; }
+-keep class * implements com.fasterxml.** { *; }
+
+# KotlinX serialization
+- keep @kotlinx.serialization.Serializable class * { *; }
+
# General
-keepattributes SourceFile,LineNumberTable,*Annotation*,EnclosingMethod,Signature,Exceptions,InnerClasses