-
Notifications
You must be signed in to change notification settings - Fork 14
Expand file tree
/
Copy pathproguard-rules.pro
More file actions
59 lines (44 loc) · 1.82 KB
/
proguard-rules.pro
File metadata and controls
59 lines (44 loc) · 1.82 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
# RetroLambda
-dontwarn java.lang.invoke.*
# Butterknife rules
-keep class butterknife.** { *; }
-dontwarn butterknife.internal.**
-keep class **$$ViewBinder { *; }
-keepclasseswithmembernames class * {
@butterknife.* <fields>;
}
-keepclasseswithmembernames class * {
@butterknife.* <methods>;
}
#
-dontwarn org.htmlcleaner.HtmlCleanerForAnt
-dontwarn javax.xml.*
-dontwarn org.jdom.xpath.JaxenXPath*
-dontwarn nl.siegmann.epublib.utilities.StreamWriter*
-dontwarn org.jdom.**
-dontwarn org.rikai.dictionary.db.JdbcSqliteDatabase
-keep class net.nightwhistler.htmlspanner.** {*;}
-dontwarn net.nightwhistler.htmlspanner.**
-dontwarn android.support.**
-keep class org.htmlcleaner.** {*;}
-keep class org.zorgblub.** {*;}
-dontwarn java.awt.**, org.apache.crimson.**, oracle.xml.parser.**, org.apache.xerces.**
-dontnote android.support.**
##---------------Begin: proguard configuration for Gson ----------
# Gson uses generic type information stored in a class file when working with fields. Proguard
# removes such information by default, so configure it to keep all of it.
-keepattributes Signature
# For using GSON @Expose annotation
-keepattributes *Annotation*
# Gson specific classes
-keep class sun.misc.Unsafe { *; }
#-keep class com.google.gson.stream.** { *; }
# Application classes that will be serialized/deserialized over Gson
-keep class com.google.gson.examples.android.model.** { *; }
# Prevent proguard from stripping interface information from TypeAdapterFactory,
# JsonSerializer, JsonDeserializer instances (so they can be used in @JsonAdapter)
-keep class * implements com.google.gson.TypeAdapterFactory
-keep class * implements com.google.gson.JsonSerializer
-keep class * implements com.google.gson.JsonDeserializer
-keepclassmembers enum * { *; }
##---------------End: proguard configuration for Gson ----------