diff options
author | Florian Dold <florian.dold@gmail.com> | 2020-08-24 00:02:51 +0530 |
---|---|---|
committer | Florian Dold <florian.dold@gmail.com> | 2020-08-24 00:02:51 +0530 |
commit | 0183a244b0ccb646096ed6f36e7c714f496de615 (patch) | |
tree | 9373deff73514d21239e503eb462de76ae705a5d | |
parent | ea9976f7044493fcfa6fda12a953f06a726d85d7 (diff) | |
download | taler-android-0183a244b0ccb646096ed6f36e7c714f496de615.tar.gz taler-android-0183a244b0ccb646096ed6f36e7c714f496de615.tar.bz2 taler-android-0183a244b0ccb646096ed6f36e7c714f496de615.zip |
proguard
-rw-r--r-- | .idea/compiler.xml | 2 | ||||
-rw-r--r-- | wallet/proguard-rules.pro | 6 |
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 |