fix: Keep network model classes, preventing crash on startup (#251)
Without this the model classes are not retained, which causes a `ClassCastException` when parsing the new models for the instance v1 and instance v2 API calls. Fixes #250
This commit is contained in:
parent
d40b87f0a0
commit
1c6c8a7455
|
@ -41,6 +41,7 @@
|
||||||
|
|
||||||
# keep members of our model classes, they are used in json de/serialization
|
# keep members of our model classes, they are used in json de/serialization
|
||||||
-keepclassmembers class app.pachli.entity.* { *; }
|
-keepclassmembers class app.pachli.entity.* { *; }
|
||||||
|
-keepclassmembers class app.pachli.network.model.* { *; }
|
||||||
|
|
||||||
-keep public enum app.pachli.entity.*$** {
|
-keep public enum app.pachli.entity.*$** {
|
||||||
**[] $VALUES;
|
**[] $VALUES;
|
||||||
|
|
Loading…
Reference in New Issue