File tree Expand file tree Collapse file tree 2 files changed +27
-0
lines changed Expand file tree Collapse file tree 2 files changed +27
-0
lines changed Original file line number Diff line number Diff line change 19
19
# If you keep the line number information, uncomment this to
20
20
# hide the original source file name.
21
21
#-renamesourcefileattribute SourceFile
22
+
23
+ #### OkHttp, Retrofit and Moshi
24
+ -dontwarn okhttp3.**
25
+ -dontwarn retrofit2.Platform$Java8
26
+ -dontwarn okio.**
27
+ -dontwarn javax.annotation.**
28
+ -keepclasseswithmembers class * {
29
+ @retrofit2.http.* <methods>;
30
+ }
31
+ -keepclasseswithmembers class * {
32
+ @com.squareup.moshi.* <methods>;
33
+ }
34
+ -keep @com.squareup.moshi.JsonQualifier interface *
35
+ -dontwarn org.jetbrains.annotations.**
36
+ -keep class kotlin.Metadata { *; }
37
+ -keepclassmembers class kotlin.Metadata {
38
+ public <methods>;
39
+ }
40
+
41
+ -keepclassmembers class * {
42
+ @com.squareup.moshi.FromJson <methods>;
43
+ @com.squareup.moshi.ToJson <methods>;
44
+ }
45
+
46
+ -keepnames @kotlin.Metadata class com.hoc.flowmvi.data.remote.**
47
+ -keep class com.hoc.flowmvi.data.remote.** { *; }
48
+ -keepclassmembers class com.hoc.flowmvi.data.remote.** { *; }
You can’t perform that action at this time.
0 commit comments