-
Notifications
You must be signed in to change notification settings - Fork 33
/
lib-proguard-rules.pro
43 lines (38 loc) · 1.48 KB
/
lib-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
# MongoDB and Stitch
-keep class com.mongodb.client.model.** { *; }
-keep class com.mongodb.embedded.capi.internal.* { *; }
-keep class com.mongodb.embedded.client.MongoEmbeddedSettings { *; }
-keep class com.mongodb.stitch.android.** { *; }
-keep class com.mongodb.stitch.core.auth.internal.models.** { *; }
-keep class com.mongodb.stitch.core.internal.net.** { *; }
# Sun JNA Package
-keep class com.sun.jna.** { *; }
# Jackson
-keep class com.fasterxml.jackson.databind.ObjectMapper {
public <methods>;
protected <methods>;
}
-keep class com.fasterxml.jackson.databind.ObjectWriter {
public ** writeValueAsString(**);
}
-keepnames class com.fasterxml.jackson.** { *; }
-dontwarn com.fasterxml.jackson.databind.**
# SLF4J Logger
-keep class org.slf4j.** { *; }
-dontwarn org.slf4j.**
# OkHttp Dependencies
-keep class org.codehaus.mojo.animal_sniffer.** { *; }
-keep class org.conscrypt.** { *; }
-dontwarn org.codehaus.mojo.animal_sniffer.**
-dontwarn org.conscrypt.**
# MongoDB Driver Features not required for Embedded MongoDB
-dontwarn io.netty.** # Connecting to clusters over network
-dontwarn java.awt.** # Abstract Window Toolkit
-dontwarn java.lang.management.** # JMX Monitoring
-dontwarn javax.naming.** # DNS resolution
-dontwarn javax.management.** # JMX Monitoring
-dontwarn javax.security.auth.callback.** # PLAIN auth
-dontwarn javax.security.sasl.**
-dontwarn jnr.unixsocket.**
-dontwarn org.ietf.jgss.** # Kerberos
-dontwarn org.xerial.snappy.** # Wire protocol compression