Guest User

Untitled

a guest
Nov 25th, 2014
333
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 2.56 KB | None | 0 0
  1. -dontusemixedcaseclassnames
  2. -dontskipnonpubliclibraryclasses
  3. -verbose
  4. -printseeds seeds.txt
  5. -printusage unused.txt
  6. -printmapping mapping.txt
  7.  
  8. -keep public class * extends android.app.Activity
  9. -keep public class * extends android.app.Application
  10. -keep public class * extends android.app.Service
  11. -keep public class * extends android.content.BroadcastReceiver
  12. -keep public class * extends android.content.ContentProvider
  13. -keep public class * extends android.preference.Preference
  14. -keep public class com.android.vending.billing.IInAppBillingService
  15. -keep public class * extends android.view.View {
  16. public <init>(android.content.Context);
  17. public <init>(android.content.Context, android.util.AttributeSet);
  18. public <init>(android.content.Context, android.util.AttributeSet, int);
  19. }
  20. -keepclasseswithmembers class * {
  21. public <init>(android.content.Context, android.util.AttributeSet);
  22. }
  23. -keepclasseswithmembers class * {
  24. public <init>(android.content.Context, android.util.AttributeSet, int);
  25. }
  26. -keepclassmembers class * extends android.content.Context {
  27. public void *(android.view.View);
  28. public void *(android.view.MenuItem);
  29. }
  30.  
  31. -libraryjars libs
  32. -keep class com.crashlytics.** { *; }
  33.  
  34. # The official support library.
  35. -keep class android.support.v4.app.** { *; }
  36. -keep interface android.support.v4.app.** { *; }
  37.  
  38. # Library JARs.
  39. #-keep class de.greenrobot.dao.** { *; }
  40. #-keep interface de.greenrobot.dao.** { *; }
  41.  
  42. # Library projects.
  43. #-keep class com.actionbarsherlock.** { *; }
  44. #-keep interface com.actionbarsherlock.** { *; }
  45. -keep class com.viewpagerindicator.** { *; }
  46. -keep interface com.viewpagerindicator.** { *; }
  47.  
  48. -keep class com.facebook.** { *; }
  49. -keepattributes Signature
  50. -keep class io.realm.** { *; }
  51. -keep class com.google.gson.** { *; }
  52. -keep class com.google.inject.* { *; }
  53. -keep class org.apache.http.* { *; }
  54. -keep class org.apache.james.mime4j.* { *; }
  55. -keep class javax.inject.* { *; }
  56. -keep class retrofit.* { *; }
  57. -dontwarn rx.*
  58. -keep class sun.misc.Unsafe { *; }
  59. -keepattributes Signature
  60. -keepattributes *Annotation*
  61. -keep class com.squareup.okhttp.** { *; }
  62. -keep interface com.squareup.okhttp.** { *; }
  63. -dontwarn com.squareup.okhttp.**
  64.  
  65. -dontwarn rx.**
  66. -dontwarn retrofit.**
  67. -dontwarn com.squareup.okhttp.**
  68. -keep class retrofit.** { *; }
  69. -keepclasseswithmembers class * {
  70. @retrofit.http.* <methods>;
  71. }
  72.  
  73. -keep class sun.misc.Unsafe { *; }
  74. #your package path where your gson models are stored
  75. -keep class com.example.models.** { *; }
  76.  
  77. -keepclassmembers class ** {
  78. public void onEvent*(**);
  79. }
Advertisement
Add Comment
Please, Sign In to add comment