PageRenderTime 427ms CodeModel.GetById 19ms RepoModel.GetById 0ms app.codeStats 0ms

/proguard-rules.pro

https://gitlab.com/achmadalam.xirpl6/RamalanCuacaBukaan
Prolog | 125 lines | 94 code | 31 blank | 0 comment | 0 complexity | ce90455aab46e5b27d99035280b38b77 MD5 | raw file
  1. # Add project specific ProGuard rules here.
  2. # By default, the flags in this file are appended to flags specified
  3. # in /Users/rianyuliantow/AndroidSDK/sdk/tools/proguard/proguard-android.txt
  4. # You can edit the include path and order by changing the proguardFiles
  5. # directive in build.gradle.
  6. #
  7. # For more details, see
  8. # http://developer.android.com/guide/developing/tools/proguard.html
  9. # Add any project specific keep options here:
  10. # If your project uses WebView with JS, uncomment the following
  11. # and specify the fully qualified class name to the JavaScript interface
  12. # class:
  13. #-keepclassmembers class fqcn.of.javascript.interface.for.webview {
  14. # public *;
  15. #}
  16. #parcelable list dan comparator list dan play services
  17. -keep class * extends java.util.ListResourceBundle {
  18. protected Object[][] getContents();
  19. }
  20. -keep public class com.google.android.gms.common.internal.safeparcel.SafeParcelable {
  21. public static final *** NULL;
  22. }
  23. -keepnames @com.google.android.gms.common.annotation.KeepName class *
  24. -keepclassmembernames class * {
  25. @com.google.android.gms.common.annotation.KeepName *;
  26. }
  27. -keepnames class * implements android.os.Parcelable {
  28. public static final ** CREATOR;
  29. }
  30. -keepclassmembers class * implements android.os.Parcelable {
  31. static ** CREATOR;
  32. }
  33. #realm
  34. -keep class io.realm.annotations.RealmModule
  35. -keep @io.realm.annotations.RealmModule class *
  36. -keep class io.realm.internal.Keep
  37. -keep @io.realm.internal.Keep class * { *; }
  38. -dontwarn javax.**
  39. -dontwarn io.realm.**
  40. -keep class io.realm.** { *; }
  41. #butterknife
  42. -keep class butterknife.** { *; }
  43. -dontwarn butterknife.internal.**
  44. -keep class **$$ViewBinder { *; }
  45. -keepclasseswithmembernames class * {
  46. @butterknife.* <fields>;
  47. }
  48. -keepclasseswithmembernames class * {
  49. @butterknife.* <methods>;
  50. }
  51. #GLIDE
  52. -keep class com.bumptech.glide.** { *; }
  53. -dontwarn com.bumptech.glide.**
  54. -keepclassmembers class com.bumptech.glide.** { *; }
  55. -keep public class * implements com.bumptech.glide.module.GlideModule
  56. -keep public enum com.bumptech.glide.load.resource.bitmap.ImageHeaderParser$** {
  57. **[] $VALUES;
  58. public *;
  59. }
  60. #-keep class com.bumptech.glide.integration.** { *; }
  61. # The support library contains references to newer platform versions.
  62. # Don't warn about those in case this app is linking against an older
  63. # platform version. We know about them, and they are safe.
  64. -dontwarn android.support.**
  65. -keep class android.support.v4.** { *; }
  66. -keep interface android.support.v4.** { *; }
  67. -dontwarn android.support.v7.**
  68. -keep class android.support.v7.** { *; }
  69. -keep interface android.support.v7.** { *; }
  70. #FASTJSON
  71. -dontwarn com.alibaba.fastjson.**
  72. -keep class com.alibaba.fastjson.** { *; }
  73. -keepattributes Signature
  74. -keepattributes *Annotation*
  75. # Application classes that will be serialized/deserialized over Jackson
  76. # Keep the pojos used by Jackson
  77. -keep class gulajava.ramalancuaca.internets.modelnet.** { *; }
  78. -keep class gulajava.ramalancuaca.internets.modelnet.cuacaperhari.** { *; }
  79. -keep class gulajava.ramalancuaca.internets.modelnet.cuacaperjam.** { *; }
  80. #okio bus
  81. -dontwarn okio.**
  82. -keep class okio.** { *; }
  83. #joda time
  84. -dontwarn org.joda.time.**
  85. -keep class org.joda.time.** { *; }
  86. #EASY PERMISSION
  87. -keep class pub.devrel.easypermissions.** { *; }
  88. -dontwarn pub.devrel.easypermissions.**
  89. # OkHttp
  90. -keepattributes Signature
  91. -keepattributes *Annotation*
  92. -keep class okhttp3.** { *; }
  93. -keep interface okhttp3.** { *; }
  94. -dontwarn okhttp3.**