aboutsummaryrefslogtreecommitdiff
path: root/wallet
diff options
context:
space:
mode:
authorFlorian Dold <florian.dold@gmail.com>2020-08-23 22:39:52 +0530
committerFlorian Dold <florian.dold@gmail.com>2020-08-23 22:39:52 +0530
commitea9976f7044493fcfa6fda12a953f06a726d85d7 (patch)
tree8ef95721ecac1cb319b64c1396a9779a9d813620 /wallet
parent513d8f8de80af0e6a1940073d5987188e43138be (diff)
downloadtaler-android-ea9976f7044493fcfa6fda12a953f06a726d85d7.tar.gz
taler-android-ea9976f7044493fcfa6fda12a953f06a726d85d7.tar.bz2
taler-android-ea9976f7044493fcfa6fda12a953f06a726d85d7.zip
jackson proguard rules
Diffstat (limited to 'wallet')
-rw-r--r--wallet/proguard-rules.pro14
1 files changed, 14 insertions, 0 deletions
diff --git a/wallet/proguard-rules.pro b/wallet/proguard-rules.pro
index 27f3799..08a1750 100644
--- a/wallet/proguard-rules.pro
+++ b/wallet/proguard-rules.pro
@@ -23,3 +23,17 @@
-keep class akono.AkonoJni {*;}
-keep class net.taler.wallet.** {*;}
+
+# Jackson
+-keep @com.fasterxml.jackson.annotation.JsonIgnoreProperties class * { *; }
+-keep @com.fasterxml.jackson.annotation.JsonCreator class * { *; }
+-keep @com.fasterxml.jackson.annotation.JsonValue class * { *; }
+-keep class com.fasterxml.** { *; }
+-keep class org.codehaus.** { *; }
+-keepnames class com.fasterxml.jackson.** { *; }
+-keepclassmembers public final enum com.fasterxml.jackson.annotation.JsonAutoDetect$Visibility {
+ public static final com.fasterxml.jackson.annotation.JsonAutoDetect$Visibility *;
+}
+
+# General
+-keepattributes SourceFile,LineNumberTable,*Annotation*,EnclosingMethod,Signature,Exceptions,InnerClasses