/proguard-rules.pro
Prolog | 125 lines | 94 code | 31 blank | 0 comment | 0 complexity | ce90455aab46e5b27d99035280b38b77 MD5 | raw file
- # Add project specific ProGuard rules here.
- # By default, the flags in this file are appended to flags specified
- # in /Users/rianyuliantow/AndroidSDK/sdk/tools/proguard/proguard-android.txt
- # You can edit the include path and order by changing the proguardFiles
- # directive in build.gradle.
- #
- # For more details, see
- # http://developer.android.com/guide/developing/tools/proguard.html
- # Add any project specific keep options here:
- # If your project uses WebView with JS, uncomment the following
- # and specify the fully qualified class name to the JavaScript interface
- # class:
- #-keepclassmembers class fqcn.of.javascript.interface.for.webview {
- # public *;
- #}
- #parcelable list dan comparator list dan play services
- -keep class * extends java.util.ListResourceBundle {
- protected Object[][] getContents();
- }
- -keep public class com.google.android.gms.common.internal.safeparcel.SafeParcelable {
- public static final *** NULL;
- }
- -keepnames @com.google.android.gms.common.annotation.KeepName class *
- -keepclassmembernames class * {
- @com.google.android.gms.common.annotation.KeepName *;
- }
- -keepnames class * implements android.os.Parcelable {
- public static final ** CREATOR;
- }
- -keepclassmembers class * implements android.os.Parcelable {
- static ** CREATOR;
- }
- #realm
- -keep class io.realm.annotations.RealmModule
- -keep @io.realm.annotations.RealmModule class *
- -keep class io.realm.internal.Keep
- -keep @io.realm.internal.Keep class * { *; }
- -dontwarn javax.**
- -dontwarn io.realm.**
- -keep class io.realm.** { *; }
- #butterknife
- -keep class butterknife.** { *; }
- -dontwarn butterknife.internal.**
- -keep class **$$ViewBinder { *; }
- -keepclasseswithmembernames class * {
- @butterknife.* <fields>;
- }
- -keepclasseswithmembernames class * {
- @butterknife.* <methods>;
- }
- #GLIDE
- -keep class com.bumptech.glide.** { *; }
- -dontwarn com.bumptech.glide.**
- -keepclassmembers class com.bumptech.glide.** { *; }
- -keep public class * implements com.bumptech.glide.module.GlideModule
- -keep public enum com.bumptech.glide.load.resource.bitmap.ImageHeaderParser$** {
- **[] $VALUES;
- public *;
- }
- #-keep class com.bumptech.glide.integration.** { *; }
- # The support library contains references to newer platform versions.
- # Don't warn about those in case this app is linking against an older
- # platform version. We know about them, and they are safe.
- -dontwarn android.support.**
- -keep class android.support.v4.** { *; }
- -keep interface android.support.v4.** { *; }
- -dontwarn android.support.v7.**
- -keep class android.support.v7.** { *; }
- -keep interface android.support.v7.** { *; }
- #FASTJSON
- -dontwarn com.alibaba.fastjson.**
- -keep class com.alibaba.fastjson.** { *; }
- -keepattributes Signature
- -keepattributes *Annotation*
- # Application classes that will be serialized/deserialized over Jackson
- # Keep the pojos used by Jackson
- -keep class gulajava.ramalancuaca.internets.modelnet.** { *; }
- -keep class gulajava.ramalancuaca.internets.modelnet.cuacaperhari.** { *; }
- -keep class gulajava.ramalancuaca.internets.modelnet.cuacaperjam.** { *; }
- #okio bus
- -dontwarn okio.**
- -keep class okio.** { *; }
- #joda time
- -dontwarn org.joda.time.**
- -keep class org.joda.time.** { *; }
- #EASY PERMISSION
- -keep class pub.devrel.easypermissions.** { *; }
- -dontwarn pub.devrel.easypermissions.**
- # OkHttp
- -keepattributes Signature
- -keepattributes *Annotation*
- -keep class okhttp3.** { *; }
- -keep interface okhttp3.** { *; }
- -dontwarn okhttp3.**