Skip to content

Commit 8acba98

Browse files
committed
Temporarily disable Proguard optimization
1 parent 35a5cb4 commit 8acba98

File tree

1 file changed

+25
-1
lines changed

1 file changed

+25
-1
lines changed

server/android/proguard-rules.pro

Lines changed: 25 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -26,13 +26,37 @@
2626
-dontwarn reactor.blockhound.integration.BlockHoundIntegration
2727

2828
-keep class io.ktor.** { *; }
29-
-keep class io.netty.** {*; }
29+
-keep class io.netty.** { *; }
3030
-keep class kotlin.reflect.jvm.internal.** { *; }
3131
-keep class kotlinx.coroutines.** { *; }
3232
-dontwarn kotlinx.atomicfu.**
3333
-dontwarn io.netty.**
3434
-dontwarn com.typesafe.**
3535
-dontwarn org.slf4j.**
3636

37+
# Proguard configuration for Jackson 2.x
38+
# https://github.com/FasterXML/jackson-docs/wiki/JacksonOnAndroid
39+
#-keep class java.beans.** { *; }
40+
#-dontwarn java.beans.**
41+
#
42+
#-keep class com.fasterxml.jackson.** { *; }
43+
#-dontwarn com.fasterxml.jackson.databind.**
44+
#
45+
#-keep class com.github.jonpeterson.jackson.** { *; }
46+
#
47+
#-keepclassmembers class * {
48+
# @com.fasterxml.jackson.annotation.* *;
49+
#}
50+
51+
# Proguard configuration for SnakeYAML 2.X
52+
#-keep class org.yaml.snakeyaml.** { *; }
53+
#-dontwarn org.yaml.snakeyaml.**
54+
55+
# Don't mess with SlimeVR config, the class structure is essential for serialization
56+
-keep class dev.slimevr.config.** { *; }
57+
3758
# Obfuscation is fine but it makes crash logs unreadable, we don't really need it for our app
3859
-dontobfuscate
60+
61+
# Temporary measure to keep config functional, beware Jackson issues if removing!!
62+
-dontoptimize

0 commit comments

Comments
 (0)