/
proguard-rules.pro
86 lines (71 loc) · 2.67 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
# Add project specific ProGuard rules here.
# You can control the set of applied configuration files using the
# proguardFiles setting in build.gradle.
#
# For more details, see
# http://developer.android.com/guide/developing/tools/proguard.html
# 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 *;
#}
# Uncomment this to preserve the line number information for
# debugging stack traces.
-keepattributes *Annotation*
-keepattributes SourceFile,LineNumberTable
# If you keep the line number information, uncomment this to
# hide the original source file name.
#-renamesourcefileattribute SourceFile
-optimizationpasses 4
# https://github.com/mikepenz/Android-Iconics#proguard
-keep class .R
-keep class **.R$* {
<fields>;
}
-keep class com.javinator9889.handwashingreminder.ads.AdLoaderImpl {
com.javinator9889.handwashingreminder.ads.AdLoaderImpl$Provider Provider;
}
-keep class com.javinator9889.handwashingreminder.ads.AdLoaderImpl$Provider {
*;
}
-keep class com.javinator9889.handwashingreminder.okhttp.OkHttpDownloader {
com.javinator9889.handwashingreminder.okhttp.OkHttpDownloader$Provider Provider;
}
-keep class com.javinator9889.handwashingreminder.okhttp.OkHttpDownloader$Provider {
*;
}
-keep class com.javinator9889.handwashingreminder.okhttplegacy.OkHttpDownloader {
com.javinator9889.handwashingreminder.okhttplegacy.OkHttpDownloader$Provider Provider;
}
-keep class com.javinator9889.handwashingreminder.okhttplegacy.OkHttpDownloader$Provider {
*;
}
-keep class com.javinator9889.handwashingreminder.bundledemoji.BundledEmojiConfig {
*;
}
# https://bumptech.github.io/glide/doc/download-setup.html#proguard
# https://github.com/bumptech/glide/blob/master/library/proguard-rules.txt
-keep public class * implements com.bumptech.glide.module.GlideModule
-keep class * extends com.bumptech.glide.module.AppGlideModule {
<init>(...);
}
-keep public enum com.bumptech.glide.load.ImageHeaderParser$** {
**[] $VALUES;
public *;
}
-keep class com.bumptech.glide.load.data.ParcelFileDescriptorRewinder$InternalRewinder {
*** rewind();
}
-dontwarn com.bumptech.glide.load.resource.bitmap.VideoDecoder
# Klaxon
-keep public class kotlin.reflect.jvm.internal.impl.** { public *; }
-keep class com.beust.klaxon.** { *; }
-keep interface com.beust.klaxon.** { *; }
-keep class kotlin.Metadata { *; }
#data models
-keep class com.javinator9889.handwashingreminder.collections.** { *;}
-keepclassmembers enum * {
public static **[] values();
public static ** valueOf(java.lang.String);
}