Skip to content

Instantly share code, notes, and snippets.

@abbath0767
Created August 30, 2017 10:20
Show Gist options
  • Save abbath0767/9cd5be5999397323e07c06f1cf5c5fb9 to your computer and use it in GitHub Desktop.
Save abbath0767/9cd5be5999397323e07c06f1cf5c5fb9 to your computer and use it in GitHub Desktop.
#retrofit
# 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
#moxy
-keep class **$$PresentersBinder
-keep class **$$State
-keep class **$$ParamsHolder
-keep class **$$ViewStateClassNameProvider
-keepnames class * extends com.arellomobile.mvp.*
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment