Last active
August 29, 2015 14:15
-
-
Save oleggreen/4ad337ad72f88c731a16 to your computer and use it in GitHub Desktop.
proguard configuration
This file contains hidden or 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
| # Retrofit, OkHttp, Gson | |
| -keepattributes *Annotation* | |
| -keepattributes Signature | |
| -keep class com.squareup.okhttp.** { *; } | |
| -keep interface com.squareup.okhttp.** { *; } | |
| -dontwarn com.squareup.okhttp.** | |
| -dontwarn rx.** | |
| -dontwarn retrofit.** | |
| -keep class retrofit.** { *; } | |
| -keepclasseswithmembers class * { | |
| @retrofit.http.* <methods>; | |
| } | |
| -keep class sun.misc.Unsafe { *; } | |
| -dontwarn java.nio.file.* | |
| -dontwarn org.codehaus.mojo.animal_sniffer.IgnoreJRERequirement | |
| # Dagger | |
| -keep class * extends dagger.internal.Binding | |
| -keep class * extends dagger.internal.ModuleAdapter | |
| -keep class * extends dagger.internal.StaticInjection | |
| -keep class * extends dagger.internal.BindingsGroup | |
| -dontwarn dagger.internal.** | |
| # me.dm7.barcodescanner:zbar | |
| -keep class net.sourceforge.zbar.** { *; } | |
| # orm lite | |
| -keep class com.j256.** { | |
| *; | |
| } | |
| https://github.com/stephanenicolas/robospice/wiki/Proguard-configuration-for-RoboSpice-projects |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment