Created
March 24, 2017 12:00
-
-
Save CoXier/8b74095d29bdcee2ba52d5fcf4218436 to your computer and use it in GitHub Desktop.
This file contains 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
# Add project specific ProGuard rules here. | |
# By default, the flags in this file are appended to flags specified | |
# in E:\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 *; | |
#} | |
# ButterKnife | |
-keep class butterknife.** {*;} | |
-dontwarn butterknife.internal.** | |
-keep class **$$ViewBinder {*;} | |
-keepclasseswithmembernames class *{ | |
@butterknife.* <fields>; | |
} | |
-keepclasseswithmembernames class *{ | |
@butterknife.* <methods>; | |
} | |
# leancloud | |
-keepattributes Signature | |
-dontwarn com.jcraft.jzlib.** | |
-keep class com.jcraft.jzlib.** { *;} | |
-dontwarn sun.misc.** | |
-keep class sun.misc.** { *;} | |
-dontwarn com.alibaba.fastjson.** | |
-keep class com.alibaba.fastjson.** { *;} | |
-dontwarn sun.security.** | |
-keep class sun.security.** { *; } | |
-dontwarn com.google.** | |
-keep class com.google.** { *;} | |
-dontwarn com.avos.** | |
-keep class com.avos.** { *;} | |
-keep public class android.net.http.SslError | |
-keep public class android.webkit.WebViewClient | |
-dontwarn android.webkit.WebView | |
-dontwarn android.net.http.SslError | |
-dontwarn android.webkit.WebViewClient | |
-dontwarn android.support.** | |
-dontwarn org.apache.** | |
-keep class org.apache.** { *;} | |
-dontwarn org.jivesoftware.smack.** | |
-keep class org.jivesoftware.smack.** { *;} | |
-dontwarn com.loopj.** | |
-keep class com.loopj.** { *;} | |
-dontwarn com.squareup.okhttp.** | |
-keep class com.squareup.okhttp.** { *;} | |
-keep interface com.squareup.okhttp.** { *; } | |
-dontwarn okio.** | |
-dontwarn org.xbill.** | |
-keep class org.xbill.** { *;} | |
-keepattributes *Annotation* | |
# Retroft | |
-dontwarn retrofit2.** | |
-keep class retrofit2.** { *; } | |
-keep interface retrofit2.** {*;} | |
-keep class com.squareup.okhttp3.** { *;} | |
-keep interface com.squareup.okhttp3.** { *; } | |
# DBFlow | |
-keep class * extends com.raizlabs.android.dbflow.config.DatabaseHolder { *; } | |
# Jsoup | |
-keep class org.jsoup.** | |
# RxAndroid | |
-keep class rx.schedulers.Schedulers { | |
public static <methods>; | |
} | |
-keep class rx.schedulers.ImmediateScheduler { | |
public <methods>; | |
} | |
-keep class rx.schedulers.TestScheduler { | |
public <methods>; | |
} | |
-keep class rx.schedulers.Schedulers { | |
public static ** test(); | |
} | |
-keepclassmembers class rx.internal.util.unsafe.*ArrayQueue*Field* { | |
long producerIndex; | |
long consumerIndex; | |
} | |
# My Model Class | |
-keep class com.hackerli.girl.data.** {*;} | |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment