1
0
mirror of https://codeberg.org/Freeyourgadget/Gadgetbridge synced 2024-11-03 17:02:13 +01:00

Added a R8 rule to make sure data classes for Gson don't get optimized out

This commit is contained in:
TaaviE 2021-06-09 00:52:50 +03:00
parent f32c4d6a43
commit 1cc9dafd59

View File

@ -46,4 +46,9 @@
# Keep logback classes
-keep class ch.qos.** { *; }
-keep class org.slf4j.** { *; }
-keep class org.slf4j.** { *; }
# Keep data classes
-keepclassmembers,allowobfuscation class * {
@com.google.gson.annotations.SerializedName <fields>;
}