Skip to content

Commit

Permalink
Fix proguard shit again
Browse files Browse the repository at this point in the history
  • Loading branch information
grishka committed Oct 1, 2024
1 parent 1b714e5 commit cb0d7e7
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 1 deletion.
2 changes: 1 addition & 1 deletion mastodon/build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@ android {
applicationId "org.joinmastodon.android"
minSdk 23
targetSdk 34
versionCode 116
versionCode 117
versionName "2.7.0"
testInstrumentationRunner "androidx.test.runner.AndroidJUnitRunner"
}
Expand Down
4 changes: 4 additions & 0 deletions mastodon/proguard-rules.pro
Original file line number Diff line number Diff line change
Expand Up @@ -35,6 +35,10 @@
*;
}

-keepnames public class org.joinmastodon.android.api.session**{
*;
}

-keepclassmembers,allowobfuscation class * {
@com.google.gson.annotations.SerializedName <fields>;
@com.squareup.otto.Subscribe <methods>;
Expand Down

0 comments on commit cb0d7e7

Please sign in to comment.