-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy pathproguard.cfg
108 lines (85 loc) · 3.73 KB
/
proguard.cfg
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
98
99
100
101
102
103
104
105
106
107
108
-optimizationpasses 8
-dontusemixedcaseclassnames
-dontskipnonpubliclibraryclasses
-dontpreverify
-verbose
##-optimizations !field/*
##-optimizations !code/simplification/arithmetic,
##-optimizations !class/merging/horizontal
##-optimizations !code/allocation/variable
##-dontobfuscate
#
# *** BSz ***
#
# If you remove -dontobfuscate, you could
# also remove -optimizations !code/allocation/variable
#
# Keep class names as well as method names
## -keepnames class *
## -keepclassmembernames class * { *** *(...); }
# Keep class names as well as method names
# -keepnames class *
# -keepclassmembernames class * { *** *(...); }
-useuniqueclassmembernames
-keeppackagenames org.bogus.android
-keepnames class org.bogus.android.**
-keepclassmembernames class org.bogus.android.** { *** *(...); }
-keeppackagenames org.bogus.domowygpx.activities
-keepnames class org.bogus.domowygpx.activities.**
-keepclassmembernames class org.bogus.domowygpx.activities.** { *** *(...); }
-keepnames class org.bogus.domowygpx.apache.**
-keepclassmembernames class org.bogus.domowygpx.apache.** { *** *(...); }
-keeppackagenames org.bogus.domowygpx.application
-keepnames class org.bogus.domowygpx.application.**
-keepclassmembernames class org.bogus.domowygpx.application.** { *** *(...); }
-keeppackagenames org.bogus.domowygpx.oauth
## -keepnames class org.bogus.domowygpx.oauth.**
-keepnames class org.bogus.domowygpx.oauth.OAuth
-keepnames class org.bogus.domowygpx.oauth.OAuthRevocationDetectorInterceptor
-keepnames class org.bogus.domowygpx.oauth.OAuthSigningInterceptor
-keepnames class org.bogus.domowygpx.oauth.OKAPI
-keepclassmembernames class org.bogus.domowygpx.oauth.OAuth { *** *(...); }
-keepclassmembernames class org.bogus.domowygpx.oauth.OAuthRevocationDetectorInterceptor { *** *(...); }
-keepclassmembernames class org.bogus.domowygpx.oauth.OAuthSigningInterceptor { *** *(...); }
-keepclassmembernames class org.bogus.domowygpx.oauth.OKAPI { *** *(...); }
-keeppackagenames org.bogus.domowygpx.services.**
-keepnames class org.bogus.domowygpx.services.**
-keepclassmembernames class org.bogus.domowygpx.services.** { *** *(...); }
-keeppackagenames org.bogus.domowygpx.utils
-keepnames class org.bogus.domowygpx.utils.**
-keepclassmembernames class org.bogus.domowygpx.utils.** { *** *(...); }
-keeppackagenames org.bogus.geocaching.egpx
-keepnames class org.bogus.geocaching.egpx.**
-keepclassmembernames class org.bogus.geocaching.egpx.** { *** *(...); }
-keepnames class org.bogus.geocaching.egpx.**
-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
-keep public class com.android.vending.licensing.ILicensingService
-keepclasseswithmembernames class * {
native <methods>;
}
-keepclasseswithmembers class * {
public <init>(android.content.Context, android.util.AttributeSet);
}
-keepclasseswithmembers class * {
public <init>(android.content.Context, android.util.AttributeSet, int);
}
-keepclassmembers class * extends android.app.Activity {
public void *(android.view.View);
}
-keepclassmembers enum * {
public static **[] values();
public static ** valueOf(java.lang.String);
}
-keep class * implements android.os.Parcelable {
public static final android.os.Parcelable$Creator *;
}
# The support library contains references to newer platform versions.
# Don't warn about those in case this app is linking against an older
# platform version. We know about them, and they are safe.
-dontwarn android.support.**