-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy pathproguard-rules.pro
97 lines (86 loc) · 3.39 KB
/
proguard-rules.pro
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
85
86
87
88
89
90
91
92
93
94
95
96
97
# Add project specific ProGuard rules here.
# By default, the flags in this file are appended to flags specified
# in /Applications/Android Studio.app/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 *;
#}
# removes all logs
-assumenosideeffects class android.util.Log { *; }
#-assumenosideeffects class android.util.Log {
# public static boolean isLoggable(java.lang.String, int);
# public static int v(...);
# public static int i(...);
# public static int w(...);
# public static int d(...);
# public static int e(...);
#}
# eventbus
-keepclassmembers class ** {
public void onEvent*(**);
}
# content provider (serialization)
-keepattributes *Annotation*,Signature
-keep class sun.misc.Unsafe { *; }
-keep class android.support.v7.** { *; }
-keep class com.google.gson.examples.android.model.** { *; }
-keep class com.publiss.core.ui.KioskActivity { *; }
-keep class android.** { *; }
-keep class com.publiss.core.ui.LoginActivity { *; }
-keep class com.publiss.core.BuildConfig { *; }
-keep class com.publiss.core.provider.PDFContentProvider
-keep class com.publiss.core.provider.DocumentsContentProvider
-keep class com.publiss.core.service.DocumentsSyncService
-keep class com.publiss.core.service.PublissAccountService
-keep class com.publiss.core.ui.PreviewActivity
-keep class com.publiss.core.ui.ReadIssueActivity
-keep class com.pspdfkit.** { *; }
-keep class com.publiss.core.ui.widget.MenuHeaderAspectRatioRelativeLayout
#push classes
-keep class com.publiss.core.service.push.GcmBroadcastReceiver { *; }
-keep class com.publiss.core.service.push.GcmIntentService { *; }
-keep class com.publiss.core.service.NewIssueNotificationDismissedReceiver { *; }
-keepnames class * implements java.io.Serializable
-keepclassmembers class * implements java.io.Serializable {
static final long serialVersionUID;
private static final java.io.ObjectStreamField[] serialPersistentFields;
!static !transient <fields>;
private void writeObject(java.io.ObjectOutputStream);
private void readObject(java.io.ObjectInputStream);
java.lang.Object writeReplace();
java.lang.Object readResolve();
}
-keep class * implements android.os.Parcelable {
public static final android.os.Parcelable$Creator *;
}
# retrofit
-keep class com.viselabs.aquariummanager.util.seneye.SeneyeService { *; }
-keep class com.viselabs.aquariummanager.util.seneye.model.* { *; }
-keep class retrofit.http.* { *; }
-keep class com.google.**
# only ignore warning, class keeping is handled by gradle
-dontwarn com.nhaarman.listviewanimations.**
-dontwarn se.emilsjolander.stickylistheaders.**
-dontwarn com.squareup.okhttp.internal.**
-dontwarn okio.Okio
-dontwarn okio.DeflaterSink
-dontwarn retrofit.**
-dontwarn com.google.**
-dontwarn javax.**
-dontwarn rx.internal.**
-dontwarn android.**
-dontpreverify
-dontskipnonpubliclibraryclasses
-dontskipnonpubliclibraryclassmembers
-dontusemixedcaseclassnames
-dontnote sun.misc.Unsafe
-dontnote javax.**
-dontnote com.google.common.**