-
Notifications
You must be signed in to change notification settings - Fork 0
/
proguard.pro
71 lines (67 loc) · 2.31 KB
/
proguard.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
-dontwarn rx.**
-dontwarn retrofit2.**
-dontwarn org.apache.lang.**
-dontwarn okio.**
-dontwarn javax.annotation.Nullable
-dontwarn javax.annotation.ParametersAreNonnullByDefault
-dontwarn com.google.android.gms.**
-dontwarn dagger.internal.codegen.**
-dontwarn com.squareup.okhttp.**
-dontnote android.net.http.*
-dontnote org.apache.http.**
-dontwarn com.google.errorprone.annotations.*
-dontnote sun.misc.Unsafe
-dontnote dagger.internal.Binding
-dontnote dagger.internal.ModuleAdapter
-dontnote dagger.internal.StaticInjection
-dontwarn javax.annotation.**
-dontwarn javax.inject.**
-keep class android.support.v7.widget.LinearLayoutManager {
public protected *;
}
-keepclasseswithmembers class * {
@retrofit.http.* <methods>;
}
-keep class akvarel.data.model.** { *; }
-keepattributes *Annotation*,Signature,Exceptions
-keep class com.squareup.okhttp.** { *; }
-keep interface com.squareup.okhttp.** { *; }
-keep class com.google.android.gms.** { *; }
-keep class retrofit2.** { *; }
-keepattributes Exceptions
-keep public enum com.bumptech.glide.load.resource.bitmap.ImageHeaderParser$** {
**[] $VALUES;
public *;
}
-keep public class * implements com.bumptech.glide.module.GlideModule
-keepclasseswithmembers class * {
@retrofit2.http.* <methods>;
}
-keepattributes Signature
-keep class sun.misc.Unsafe { *; }
-keep class com.google.gson.examples.android.model.** { *; }
-keep class * implements com.google.gson.TypeAdapterFactory
-keep class * implements com.google.gson.JsonSerializer
-keep class * implements com.google.gson.JsonDeserializer
-keepclassmembers,allowobfuscation class * {
@javax.inject.* *;
@dagger.* *;
<init>();
}
-keep class dagger.* { *; }
-keep class javax.inject.* { *; }
-keep class * extends dagger.internal.Binding
-keep class * extends dagger.internal.ModuleAdapter
-keep class * extends dagger.internal.StaticInjection
-keep class com.google.common.base.Preconditions { *; }
-keep class android.support.v4.util.Precondition { *; }
-keep class dagger.internal.Preconditions { *; }
# Proguard rules that are applied to your test apk/code.
-ignorewarnings
-keep class org.apache.http.** { *; }
-keep class android.net.http.** { *; }
-keepclassmembernames class kotlinx.** {
volatile <fields>;
}
-keep class me.shtanko.akvarel.about.** { *; }
-keep class me.shtanko.akvarel.search.** { *; }