You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
35 lines
1.1 KiB
35 lines
1.1 KiB
# Merge
|
|
-flattenpackagehierarchy com.github.catvod.spider.merge
|
|
-dontwarn org.slf4j.impl.StaticLoggerBinder
|
|
|
|
# Spider
|
|
-keep class com.github.catvod.crawler.* { *; }
|
|
-keep class com.github.catvod.spider.* { public <methods>; }
|
|
-keep class com.github.catvod.parser.* { public <methods>; }
|
|
|
|
# Gson
|
|
-keepattributes Signature
|
|
-keepattributes *Annotation*
|
|
-dontwarn sun.misc.**
|
|
-keep class com.google.gson.**{*;}
|
|
-keep class * extends com.google.gson.TypeAdapter
|
|
-keep class * implements com.google.gson.TypeAdapterFactory
|
|
-keep class * implements com.google.gson.JsonSerializer
|
|
-keep class * implements com.google.gson.JsonDeserializer
|
|
-keepclassmembers,allowobfuscation class * { @com.google.gson.annotations.SerializedName <fields>; }
|
|
-keep,allowobfuscation,allowshrinking class com.google.gson.reflect.TypeToken
|
|
-keep,allowobfuscation,allowshrinking class * extends com.google.gson.reflect.TypeToken
|
|
|
|
# Zxing
|
|
-keepclassmembers enum * {
|
|
public static **[] values();
|
|
public static ** valueOf(java.lang.String);
|
|
}
|
|
|
|
# OkHttp
|
|
-keep class okio.**{*;}
|
|
-keep class okhttp3.**{*;}
|
|
|
|
# Cronet
|
|
-keep class org.chromium.net.**{*;}
|
|
-keep class com.google.net.cronet.**{*;} |