diff --git a/mastodon/build.gradle b/mastodon/build.gradle index ca889ad1f5..232ca837d8 100644 --- a/mastodon/build.gradle +++ b/mastodon/build.gradle @@ -9,7 +9,7 @@ android { applicationId "org.joinmastodon.android" minSdk 23 targetSdk 33 - versionCode 88 + versionCode 89 versionName "2.4.1" testInstrumentationRunner "androidx.test.runner.AndroidJUnitRunner" resConfigs "ar-rSA", "be-rBY", "bn-rBD", "bs-rBA", "ca-rES", "cs-rCZ", "da-rDK", "de-rDE", "el-rGR", "es-rES", "eu-rES", "fa-rIR", "fi-rFI", "fil-rPH", "fr-rFR", "ga-rIE", "gd-rGB", "gl-rES", "hi-rIN", "hr-rHR", "hu-rHU", "hy-rAM", "ig-rNG", "in-rID", "is-rIS", "it-rIT", "iw-rIL", "ja-rJP", "ka-rGE", "kab", "ko-rKR", "lt-rLT", "my-rMM", "nl-rNL", "no-rNO", "oc-rFR", "pl-rPL", "pt-rBR", "pt-rPT", "ro-rRO", "ru-rRU", "si-rLK", "sl-rSI", "sv-rSE", "th-rTH", "tr-rTR", "uk-rUA", "ur-rIN", "vi-rVN", "zh-rCN", "zh-rTW" diff --git a/mastodon/proguard-rules.pro b/mastodon/proguard-rules.pro index e4ccdde405..4be5e64cfa 100644 --- a/mastodon/proguard-rules.pro +++ b/mastodon/proguard-rules.pro @@ -22,7 +22,7 @@ # Keep all model classes as they're used with gson and their names are shown in errors -keep public class org.joinmastodon.android.model.**{ - ; + *; } # Inner classes in api requests are used with gson @@ -51,6 +51,7 @@ -keep class org.joinmastodon.android.AppCenterWrapper { *; } -keepattributes LineNumberTable --keep class com.google.gson.reflect.TypeToken +-keepattributes Signature +-keep class com.google.gson.reflect.TypeToken { *; } -keep class * extends com.google.gson.reflect.TypeToken -keep public class * implements java.lang.reflect.Type