forked from PhucNgo1711/PennApps11AM
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathproguard-rules.pro
More file actions
83 lines (66 loc) · 2.49 KB
/
proguard-rules.pro
File metadata and controls
83 lines (66 loc) · 2.49 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
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
# Add project specific ProGuard rules here.
# By default, the flags in this file are appended to flags specified
# in /home/ian/android-sdk-linux_x86/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 *;
#}
# leave stack traces and reflection intact
-dontobfuscate
# actionbarsherlock proguard settings
-keep class android.support.v4.app.** { *; }
-keep interface android.support.v4.app.** { *; }
-keep class com.actionbarsherlock.** { *; }
-keep interface com.actionbarsherlock.** { *; }
-keepattributes *Annotation*
# suggestion is to ignore warnings that occur but app is still working fine
-dontwarn com.actionbarsherlock.internal.**
-dontwarn com.fasterxml.jackson.databind.ext.**
# Keep all hound stuff - this keeps reflection based code working
-keep class com.hound.android.** { *; }
# keep JNI stuff untouched
-keep class com.soundhound.android.libvad.** { *; }
-keep class com.soundhound.android.libspeex.** { *; }
-keep class com.hound.android.libphs.** { *; }
# Google Play Services
# http://developer.android.com/google/play-services/setup.html
-keep class * extends java.util.ListResourceBundle {
protected Object[][] getContents();
}
-keep public class com.google.android.gms.common.internal.safeparcel.SafeParcelable {
public static final *** NULL;
}
-keepnames @com.google.android.gms.common.annotation.KeepName class *
-keepclassmembernames class * {
@com.google.android.gms.common.annotation.KeepName *;
}
-keepnames class * implements android.os.Parcelable {
public static final ** CREATOR;
}
# Jackson
-keep class com.fasterxml.jackson.databind.SerializationFeature { *; }
-keep class com.fasterxml.jackson.databind.ObjectMapper { *; }
# OkHttp
-dontwarn okio.**
# Otto
-keepattributes *Annotation*
-keepclassmembers class ** {
@com.squareup.otto.Subscribe public *;
@com.squareup.otto.Produce public *;
}
# Retrofit
-keep class retrofit.** { *; }
-keep class package.with.model.classes.** { *; }
-keepclassmembernames interface * {
@retrofit.http.* <methods>;
}
-dontwarn com.google.appengine.api.urlfetch.**
-dontwarn rx.**