Proguard: Skip favourite.* classes
This commit is contained in:
committed by
Aayush Gupta
parent
b08461cbe9
commit
58438a79dd
4
app/proguard-rules.pro
vendored
4
app/proguard-rules.pro
vendored
@@ -86,6 +86,10 @@
|
||||
-dontwarn com.google.**
|
||||
-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
|
||||
# and replaces all potential values with null. Explicitly keeping the interfaces prevents this.
|
||||
-if interface * { @retrofit2.http.* <methods>; }
|
||||
|
||||
Reference in New Issue
Block a user