Fix proguard shit again

This commit is contained in:
Grishka 2024-10-01 21:49:56 +03:00
parent 1b714e5815
commit cb0d7e73d4
2 changed files with 5 additions and 1 deletions

View File

@ -13,7 +13,7 @@ android {
applicationId "org.joinmastodon.android" applicationId "org.joinmastodon.android"
minSdk 23 minSdk 23
targetSdk 34 targetSdk 34
versionCode 116 versionCode 117
versionName "2.7.0" versionName "2.7.0"
testInstrumentationRunner "androidx.test.runner.AndroidJUnitRunner" testInstrumentationRunner "androidx.test.runner.AndroidJUnitRunner"
} }

View File

@ -35,6 +35,10 @@
*; *;
} }
-keepnames public class org.joinmastodon.android.api.session**{
*;
}
-keepclassmembers,allowobfuscation class * { -keepclassmembers,allowobfuscation class * {
@com.google.gson.annotations.SerializedName <fields>; @com.google.gson.annotations.SerializedName <fields>;
@com.squareup.otto.Subscribe <methods>; @com.squareup.otto.Subscribe <methods>;