Skip to content

Commit 1822c4e

Browse files
committed
Add proguard for OkHttp rules
1 parent 818a19b commit 1822c4e

File tree

1 file changed

+8
-0
lines changed

1 file changed

+8
-0
lines changed

app/proguard-rules.pro

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -43,3 +43,11 @@
4343

4444
# Ignore missing Java SE annotation processing classes, often from libraries like AutoValue
4545
-dontwarn javax.lang.model.**
46+
47+
# OkHttp
48+
-keep class okhttp3.** { *; }
49+
-keep interface okhttp3.** { *; }
50+
-dontwarn okhttp3.**
51+
52+
# Ignore SAX parser warning
53+
-dontwarn org.xml.sax.**

0 commit comments

Comments
 (0)