-
Notifications
You must be signed in to change notification settings - Fork 71
Proguard
Orhan Obut edited this page Aug 9, 2015
·
1 revision
If you are using ProGuard you should add the following options to your configuration file: Note: Other than these options you may also need to keep your network related model classes.
#Wasp
-keepattributes *Annotation*
-keep class com.orhanobut.wasp.** { *; }
-keepclassmembernames interface * {
@com.orhanobut.wasp.http.* <methods>;
}
#Gson
-keep class com.google.gson.** { *; }
-keepattributes Signature
#OkHttp
-dontwarn com.squareup.okhttp.**
-dontwarn java.nio.file.*
-dontwarn org.codehaus.mojo.animal_sniffer.IgnoreJRERequirement
All contributes are welcome.