forked from cundong/ZhihuPaper
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathproguard-project.txt
84 lines (62 loc) · 2.96 KB
/
proguard-project.txt
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
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
# To enable ProGuard in your project, edit project.properties
# to define the proguard.config property as described in that file.
#
# Add project specific ProGuard rules here.
# By default, the flags in this file are appended to flags specified
# in ${sdk.dir}/tools/proguard/proguard-android.txt
# You can edit the include path and order by changing the ProGuard
# include property in project.properties.
#
# 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 com.cundong.izhihu.fragment.NewsDetailFragment$JavaScriptObject {
public *;
}
-keep public class * extends android.app.Activity
-keep public class * extends android.app.Application
-keep public class * extends android.app.Service
-keep public class * extends android.content.BroadcastReceiver
-keep public class * extends android.content.ContentProvider
-keep public class * extends android.app.backup.BackupAgentHelper
-keep public class * extends android.preference.Preference
-dontwarn uk.co.senab.actionbarpulltorefresh.extras.actionbarsherlock.**
-keep class uk.co.senab.actionbarpulltorefresh.extras.actionbarsherlock.** { *;}
-dontwarn de.keyboardsurfer.mobile.app.android.widget.crouton.**
-keep class de.keyboardsurfer.mobile.app.android.widget.crouton.** { *;}
-dontwarn uk.co.senab.photoview.**
-keep class uk.co.senab.photoview.** { *;}
-dontwarn com.support.**
-keep class com.support.** { *;}
-dontwarn fr.castorflex.android.smoothprogressbar.**
-keep class fr.castorflex.android.smoothprogressbar.** { *;}
-dontwarn com.actionbarsherlock.**
-keep class com.actionbarsherlock.** { *;}
-dontwarn uk.co.senab.actionbarpulltorefresh.library.**
-keep class uk.co.senab.actionbarpulltorefresh.library.** { *;}
-dontwarn com.cundong.izhihu.entity.**
-keep class com.cundong.izhihu.entity.** { *;}
##---------------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.cundong.izhihu.entity.** { *;}
##---------------End: proguard configuration for Gson ----------
-keep class android.support.v4.** {*;}
-libraryjars libs/gson-2.2.4.jar
-keep class com.google.gson.** {*;}
-libraryjars libs/jsoup-1.8.1.jar
-keep class org.jsoup.** {*;}
-libraryjars libs/umeng-analytics-v5.2.4.jar
-keep class com.umeng.analytics.** {*;}
-libraryjars libs/universal-image-loader-1.9.2.jar
-keep class com.nostra13.universalimageloader.** {*;}