-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathcompose-desktop.pro
More file actions
68 lines (53 loc) · 2.13 KB
/
compose-desktop.pro
File metadata and controls
68 lines (53 loc) · 2.13 KB
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
# from: https://github.com/Anamorphosee/stacktrace-decoroutinator#using-proguard
-keep @kotlin.coroutines.jvm.internal.DebugMetadata class * { *; }
-keep @dev.reformator.stacktracedecoroutinator.provider.DecoroutinatorTransformed class * { *; }
# from: https://github.com/java-native-access/jna/issues/1187#issuecomment-626251894
-keep class com.sun.jna.** { *; }
-keep class * implements com.sun.jna.** { *; }
# from: https://github.com/JetBrains/compose-multiplatform/issues/4883#issuecomment-2156012785
-keep class androidx.compose.runtime.** { *; }
-keep class androidx.collection.** { *; }
-keep class androidx.lifecycle.** { *; }
-keep class androidx.compose.ui.text.platform.ReflectionUtil { *; }
# We're excluding Material 2 from the project as we're using Material 3
-dontwarn androidx.compose.material.**
# Kotlinx coroutines rules seems to be outdated with the latest version of Kotlin and Proguard
### -keep class kotlinx.coroutines.** { *; }
# from: https://github.com/Kotlin/kotlinx.serialization/issues/2719#issuecomment-2189193638
-keepclassmembers public class **$$serializer {
private ** descriptor;
}
# attempting to fix json5k
-keep class io.github.xn32.json5k.** { *; }
# Ktor
-keep class io.ktor.client.engine.java.** { *; }
-keep class io.ktor.serialization.kotlinx.json.** { *; }
## remove some stupid warnings for things we do not use
-dontwarn jakarta.**
-dontwarn org.tukaani.xz.**
-dontwarn lombok.**
-dontwarn edu.umd.cs.findbugs.**
-dontwarn org.junit.**
-dontwarn org.codehaus.commons.**
-dontwarn org.codehaus.janino.**
-dontwarn com.oracle.svm.**
-dontwarn javax.servlet.**
-dontwarn org.eclipse.jetty.**
-dontwarn ch.qos.cal10n.**
-dontwarn javassist.**
# -dontwarn reactor.blockhound.**
-dontwarn javassist.**
# logging
-keep public class org.slf4j.** { *; }
-keep public class ch.** { *; }
# blockhound
-dontnote reactor.blockhound
-dontwarn reactor.blockhound
# -keep class reactor.blockhound.** { *; }
-dontwarn reactor.core.scheduler.NonBlocking
-dontwarn io.reactivex.internal.schedulers.NonBlockingThread
-dontwarn **.AutoService
-dontwarn javax.annotation.**
-printmapping mapping.txt
# -dontoptimize
-ignorewarnings