Follow up from: https://github.com/nextcloud/news-android/pull/1435 - sounds like we don't need the GSON rules anymore. I've removed them and tested the debug build without the GSON rules and it seemed to work just fine (we don't use @SerializedName because we do the deserialization mostly manually)
Added default ProGuard / R8 rules (@Marcono1234, #2397, #2420; @sgjesse, #2448; @sfreilich)
If you are using ProGuard or R8 (for example for Android projects) you might not need any special Gson configuration anymore if your classes have a no-args constructor and use @SerializedName for their fields.
Follow up from: https://github.com/nextcloud/news-android/pull/1435 - sounds like we don't need the GSON rules anymore. I've removed them and tested the debug build without the GSON rules and it seemed to work just fine (we don't use
@SerializedName
because we do the deserialization mostly manually)