Created
June 1, 2018 05:50
-
-
Save EdgeJH/98f90501620073fb1f5ec2824cf9944f to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#-----------Begin retrofit2 proguard --------------- | |
-dontnote retrofit2.Platform | |
# Platform used when running on Java 8 VMs. Will not be used at runtime. | |
-dontwarn retrofit2.Platform$Java8 | |
# Retain generic type information for use by reflection by converters and adapters. | |
-keepattributes Signature | |
# Retain declared checked exceptions for use by a Proxy instance. | |
-keepattributes Exceptions | |
##---------------Begin: proguard configuration for Gson ---------- | |
# Gson uses generic type information stored in a class file when working with fields. Proguard | |
# removes such information by default, so configure it to keep all of it. | |
-keepattributes Signature | |
# Gson specific classes | |
-keep class sun.misc.Unsafe { *; } | |
#-keep class com.google.gson.stream.** { *; } | |
# Application classes that will be serialized/deserialized over Gson | |
# -keep class mypersonalclass.data.model.** { *; } | |
#----------------Begin okhttp3 proguard--------- | |
-keepattributes Signature | |
-keepattributes Annotation | |
-dontwarn okhttp3.** | |
-dontwarn okio.** | |
-dontnote okhttp3.** | |
-dontwarn javax.annotation.** | |
-dontwarn javax.annotation.GuardedBy | |
#------------------------------------------------ | |
-keep public class org.jsoup.** { | |
public *; | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment