Proguard: Skip favourite.* classes

This commit is contained in:
Rahul Patel
2024-11-29 21:33:54 +05:30
committed by Aayush Gupta
parent b08461cbe9
commit 58438a79dd

View File

@@ -86,6 +86,10 @@
-dontwarn com.google.** -dontwarn com.google.**
-keep class com.google.gson.Gson {*;} -keep class com.google.gson.Gson {*;}
# Keep data classes
-keep class com.aurora.store.data.room.favourite.ImportExport { *; }
-keep class com.aurora.store.data.room.favourite.Favourite { *; }
# With R8 full mode, it sees no subtypes of Retrofit interfaces since they are created with a Proxy # With R8 full mode, it sees no subtypes of Retrofit interfaces since they are created with a Proxy
# and replaces all potential values with null. Explicitly keeping the interfaces prevents this. # and replaces all potential values with null. Explicitly keeping the interfaces prevents this.
-if interface * { @retrofit2.http.* <methods>; } -if interface * { @retrofit2.http.* <methods>; }