Skip to content

Commit

Permalink
Merge pull request #15 from Pidsamhai/dev
Browse files Browse the repository at this point in the history
[fixed] fix release build with R8
  • Loading branch information
mengxyz authored Sep 2, 2023
2 parents 1dc1b4e + 1271e9e commit 9f5a05f
Showing 1 changed file with 9 additions and 0 deletions.
9 changes: 9 additions & 0 deletions app/proguard-rules.pro
Original file line number Diff line number Diff line change
Expand Up @@ -22,6 +22,15 @@
-keep class com.github.psm.moviedb.repository** { *; }
-keep class com.github.psm.moviedb.**$$serializer { *; }

# Keep `INSTANCE.serializer()` of serializable objects.
-if @kotlinx.serialization.Serializable class ** {
public static ** INSTANCE;
}
-keepclassmembers class <1> {
public static <1> INSTANCE;
kotlinx.serialization.KSerializer serializer(...);
}

-dontwarn org.bouncycastle.jsse.BCSSLParameters
-dontwarn org.bouncycastle.jsse.BCSSLSocket
-dontwarn org.bouncycastle.jsse.provider.BouncyCastleJsseProvider
Expand Down

0 comments on commit 9f5a05f

Please sign in to comment.