# This is a configuration file for ProGuard. # http://proguard.sourceforge.net/index.html#manual/usage.html # # Starting with version 2.2 of the Android plugin for Gradle, these files are no longer used. Newer # versions are distributed with the plugin and unpacked at build time. Files in this directory are # no longer maintained. -dontusemixedcaseclassnames -dontskipnonpubliclibraryclasses -verbose # Optimization is turned off by default. Dex does not like code run # through the ProGuard optimize and preverify steps (and performs some # of these optimizations on its own). -dontoptimize -dontpreverify # Note that if you want to enable optimization, you cannot just # include optimization flags in your own project configuration file; # instead you will need to point to the # "proguard-android-optimize.txt" file instead of this one from your # project.properties file. -keepattributes *Annotation* -keep public class com.google.vending.licensing.ILicensingService -keep public class com.android.vending.licensing.ILicensingService # For native methods, see http://proguard.sourceforge.net/manual/examples.html#native -keepclasseswithmembernames class * { native ; } # keep setters in Views so that animations can still work. # see http://proguard.sourceforge.net/manual/examples.html#beans -keepclassmembers public class * extends android.view.View { void set*(***); *** get*(); } # We want to keep methods in Activity that could be used in the XML attribute onClick -keepclassmembers class * extends android.app.Activity { public void *(android.view.View); } # For enumeration classes, see http://proguard.sourceforge.net/manual/examples.html#enumerations -keepclassmembers enum * { public static **[] values(); public static ** valueOf(java.lang.String); } -keepclassmembers class * implements android.os.Parcelable { public static final android.os.Parcelable$Creator CREATOR; } -keepclassmembers class **.R$* { public static ; } # 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.** # Understand the @Keep support annotation. -keep class android.support.annotation.Keep -keep @android.support.annotation.Keep class * {*;} -keepclasseswithmembers class * { @android.support.annotation.Keep ; } -keepclasseswithmembers class * { @android.support.annotation.Keep ; } -keepclasseswithmembers class * { @android.support.annotation.Keep (...); } # webView处理 -keepclassmembers class fqcn.of.javascript.interface.for.webview { public *; } # 抛出异常时保留代码行号 -keepattributes SourceFile,LineNumberTable -keepattributes Exceptions,InnerClasses -keepattributes Signature # Gson -keep class com.google.gson.** { *; } # alipay -keep class com.alipay.** {*;} -keep class ta.utdid2.**{*;} -keep class ut.device.**{*;} -keep class org.json.alipay.**{*;} # 保留support下的所有类及其内部类 -keep class android.support.** {*;} # 保留继承的 -keep public class * extends android.support.v4.** #---------------------------------------金融魔方----------------------------------------------- #common -keepclassmembers class com.jrmf360.rylib.common.fragment.**{ ; } -keep class com.jrmf360.rylib.common.http.**{*;} -keep class com.jrmf360.rylib.common.model.**{*;} #-keep class com.jrmf360.rylib.common.util.**{*;} -keepclassmembers class com.jrmf360.rylib.common.util.CountUtil{ ; } -keepclassmembers class com.jrmf360.rylib.common.util.NetworkCacheUtil{*;} -keep class com.jrmf360.rylib.common.util.NetworkCacheUtil$*{*;} -keepclassmembers class com.jrmf360.rylib.common.util.MemoryCacheUtil{*;} -keep class com.jrmf360.rylib.common.util.MemoryCacheUtil$*{*;} -keep class com.jrmf360.rylib.common.util.LogUtil{*;} #-keepclassmembers class com.jrmf360.rylib.common.util.KeyboardUtil{*;} -keep class com.jrmf360.rylib.common.util.KeyboardUtil$* {*;} -keep class com.jrmf360.rylib.common.util.ToastUtil{*;} -keep class com.jrmf360.rylib.common.util.ToastUtil$* {*;} -keepclassmembers class com.jrmf360.rylib.common.util.RotateAnimationUtil{ ; } -keep class com.jrmf360.rylib.common.view.**{*;} -keepclassmembers class com.jrmf360.rylib.diaplay.**{ ; } -keepclassmembers class com.jrmf360.rylib.adapter.TradeDetailAdapter{ ; } -keep class com.jrmf360.rylib.modules.**{*;} #红包 -keep class com.jrmf360.rylib.rp.extend.**{*;} -keep class com.jrmf360.rylib.rp.gridpwdview.**{*;} #新添加model混淆 #-keep class com.jrmf360.rylib.rp.http.model.*{*;} -keepclassmembers class * extends com.jrmf360.rylib.common.model.BaseModel{*;} -keep class com.jrmf360.rylib.common.model.BaseModel{*;} -keep class com.jrmf360.rylib.rp.http.model.SendRpItemModel{*;} -keep class com.jrmf360.rylib.rp.http.model.RpInfoModel$* {*;} -keep class com.jrmf360.rylib.rp.http.RpHttpManager$*{*;} -keep class com.jrmf360.rylib.rp.ui.**{*;} -keep class com.jrmf360.rylib.rp.widget.**{*;} -keep class com.jrmf360.rylib.JrmfClient{*;} -keep class com.jrmf360.rylib.JrmfClient$* { *; } #钱包 -keepclassmembers class com.jrmf360.rylib.wallet.fragment.*{ ; } #-keep class com.jrmf360.rylib.wallet.http.model{*;} -keepclassmembers class com.jrmf360.rylib.wallet.http.model.AccountModel{*;} -keepclassmembers class com.jrmf360.rylib.wallet.http.model.ProviceModel{*;} -keepclassmembers class com.jrmf360.rylib.wallet.http.model.City{*;} -keep class com.jrmf360.rylib.wallet.http.model.TradeItemDetail{*;} -keep class com.jrmf360.rylib.wallet.http.model.SendRpItemModel{*;} -keep class com.jrmf360.rylib.wallet.http.model.BankBranch$* {*;} -keep class com.jrmf360.rylib.wallet.http.WalletHttpManager$*{*;} -keep class com.jrmf360.rylib.wallet.ui.**{*;} -keep class com.jrmf360.rylib.wallet.webview.**{*;} -keep class com.jrmf360.rylib.wallet.widget.**{*;} -keep class com.jrmf360.rylib.wallet.JrmfWalletClient{*;} -keep class com.jrmf360.rylib.wallet.JrmfWalletClient$* { *; } -ignorewarnings