fix: Prevent crash by keeping network.model.** classes (#369)

Previous rule didn't consider a deeper package hierarchy, so the new
NodeInfo classes were being removed by ProGuard.
This commit is contained in:
Nik Clayton 2024-01-19 09:39:44 +01:00 committed by GitHub
parent 875bb9c2a5
commit a588c702fb
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
1 changed files with 1 additions and 1 deletions

View File

@ -38,7 +38,7 @@
# Pachli specific options # Pachli specific options
# 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.core.network.model.* { *; } -keepclassmembers class app.pachli.core.network.model.** { *; }
-keep public enum app.pachli.core.network.model.*$** { -keep public enum app.pachli.core.network.model.*$** {
**[] $VALUES; **[] $VALUES;