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:
Nik Clayton 2023-11-13 13:31:31 +01:00 committed by GitHub
parent d40b87f0a0
commit 1c6c8a7455
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 1 additions and 0 deletions

View File

@ -41,6 +41,7 @@
# keep members of our model classes, they are used in json de/serialization
-keepclassmembers class app.pachli.entity.* { *; }
-keepclassmembers class app.pachli.network.model.* { *; }
-keep public enum app.pachli.entity.*$** {
**[] $VALUES;