From 347895f6b216c16f633d0ac1cd2732bef37cedeb Mon Sep 17 00:00:00 2001 From: akwizgran Date: Wed, 3 Aug 2022 17:55:49 +0100 Subject: [PATCH] Update ProGuard rules to keep serialisable classes. --- bramble-android/proguard-rules.txt | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/bramble-android/proguard-rules.txt b/bramble-android/proguard-rules.txt index fee1df635..c34540941 100644 --- a/bramble-android/proguard-rules.txt +++ b/bramble-android/proguard-rules.txt @@ -18,3 +18,7 @@ -dontnote com.google.common.** -dontwarn com.fasterxml.jackson.databind.ext.Java7SupportImpl + +# Keep all Jackson-serialisable classes and their members +-keep interface com.fasterxml.jackson.databind.annotation.JsonSerialize +-keep @com.fasterxml.jackson.databind.annotation.JsonSerialize class * { *; }