Skip to content

Instantly share code, notes, and snippets.

@seventhmoon
Created March 14, 2017 02:38
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save seventhmoon/24a1b9f7a24f4456a1c90670a3711be3 to your computer and use it in GitHub Desktop.
Save seventhmoon/24a1b9f7a24f4456a1c90670a3711be3 to your computer and use it in GitHub Desktop.
ProGuard Configurations
-dontwarn okio.**
# Platform calls Class.forName on types which do not exist on Android to determine platform.
-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
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment