summaryrefslogtreecommitdiff
path: root/android-app/app/proguard-rules.pro
blob: 25bf917875be161f934824ae1904eda4e318cf2a (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
# Moshi
-keep class com.example.androidapp.data.model.** { *; }
-keepclassmembers class ** { @com.squareup.moshi.Json <fields>; }
-keep @com.squareup.moshi.JsonClass class * { *; }

# Retrofit
-keepattributes Signature, Exceptions
-keep class retrofit2.** { *; }
-keepclassmembers,allowshrinking,allowobfuscation interface * {
    @retrofit2.http.* <methods>;
}

# OkHttp
-dontwarn okhttp3.**
-dontwarn okio.**