Skip to content

Instantly share code, notes, and snippets.

Created March 29, 2017 15:42
Show Gist options
  • Save anonymous/6be5912b4c521922d45532e3b2218e85 to your computer and use it in GitHub Desktop.
Save anonymous/6be5912b4c521922d45532e3b2218e85 to your computer and use it in GitHub Desktop.
-dontwarn com.squareup.okhttp.**
-dontwarn okio.**
-dontwarn retrofit2.**
-dontwarn android.support.design.**
-keepattributes *Annotation*,Signature,Exceptions
-keep class retrofit2.** { *; }
-keep class com.squareup.okhttp.** { *; }
-keep interface com.squareup.okhttp.** { *; }
-keep class android.support.design.** { *; }
-keep interface android.support.design.** { *; }
-keep public class android.support.design.R$* { *; }
-keep public class android.support.v7.widget.** { *; }
-keep public class android.support.v7.internal.widget.** { *; }
-keep public class android.support.v7.internal.view.menu.** { *; }
-keep class android.support.v7.widget.RoundRectDrawable { *; }
-keepclasseswithmembers class * {
@retrofit.http.* <methods>;
}
-keep public class * extends android.support.v4.view.ActionProvider {
public <init>(android.content.Context);
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment