forked from inotia00/VancedMicroG
-
Notifications
You must be signed in to change notification settings - Fork 0
/
proguard.flags
65 lines (55 loc) · 2.11 KB
/
proguard.flags
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
# We're referencing stuff that is unknown to the system
#-libraryjar ../unifiednlp-compat/build/classes/java/main
-dontwarn java.awt.**
-dontwarn javax.annotation.**
# External libs
-dontwarn okio.**
-dontwarn com.squareup.okhttp.**
-dontwarn org.oscim.tiling.source.OkHttpEngine
-dontwarn org.oscim.tiling.source.OkHttpEngine$OkHttpFactory
-dontwarn com.caverock.androidsvg.**
-dontwarn org.slf4j.**
-dontwarn org.codehaus.jackson.**
-dontwarn com.android.location.provider.**
-dontwarn java.lang.instrument.ClassFileTransformer
-dontwarn sun.misc.SignalHandler
-dontwarn com.android.org.conscrypt.SSLParametersImpl
-dontwarn org.apache.harmony.xnet.provider.jsse.SSLParametersImpl
# Disable ProGuard Notes, they won't help here
-dontnote
# Keep dynamically loaded GMS classes
-keep public class com.google.android.gms.common.security.ProviderInstallerImpl { public *; }
-keep public class com.google.android.gms.dynamic.IObjectWrapper { public *; }
-keep public class com.google.android.gms.dynamite.descriptors.** { public *; }
# Keep AutoSafeParcelables
-keep public class * extends org.microg.safeparcel.AutoSafeParcelable {
@org.microg.safeparcel.SafeParceled *;
<init>(...);
}
# Keep form data
-keepclassmembers class * {
@org.microg.gms.common.HttpFormClient$* *;
}
# Keep our stuff
-keep class org.microg** { *; }
-keep class com.google.android.gms** { *; }
-keep class com.mgoogle** { *; }
-keepdirectories org/microg**
-keepdirectories com/google/android/gms**
-keepdirectories com/mgoogle**
# Keep asInterface method cause it's accessed from SafeParcel
-keepattributes InnerClasses
-keepclassmembers interface * extends android.os.IInterface {
public static class *;
}
-keep public class * extends android.os.Binder { public static *; }
# Keep library info
-keep class **.BuildConfig { *; }
# Keep protobuf class builders
-keep public class com.squareup.wire.Message
-keep public class * extends com.squareup.wire.Message
-keep public class * extends com.squareup.wire.Message$Builder { public <init>(...); }
# Proguard configuration for Jackson 1.x
-keepclassmembers class * {
@org.codehaus.jackson.annotate.* *;
}