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:
parent
f32c4d6a43
commit
1cc9dafd59
7
app/proguard-rules.pro
vendored
7
app/proguard-rules.pro
vendored
@ -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>;
|
||||
}
|
Loading…
Reference in New Issue
Block a user