Skip to content

Commit e6b2f0b

Browse files
authoredDec 13, 2022
Update default ProGuard rules with changes from main branch
1 parent 396aac0 commit e6b2f0b

File tree

1 file changed

+16
-1
lines changed

1 file changed

+16
-1
lines changed
 

‎gradle-plugins/compose/src/main/resources/default-compose-desktop-rules.pro

+16-1
Original file line numberDiff line numberDiff line change
@@ -30,4 +30,19 @@
3030
-dontwarn org.codehaus.mojo.animal_sniffer.IgnoreJRERequirement
3131

3232
# https://github.com/Kotlin/kotlinx.coroutines/issues/2046
33-
-dontwarn android.annotation.SuppressLint
33+
-dontwarn android.annotation.SuppressLint
34+
35+
# https://github.com/JetBrains/compose-jb/issues/2393
36+
-dontnote kotlin.coroutines.jvm.internal.**
37+
-dontnote kotlin.internal.**
38+
-dontnote kotlin.jvm.internal.**
39+
-dontnote kotlin.reflect.**
40+
-dontnote kotlinx.coroutines.debug.internal.**
41+
-dontnote kotlinx.coroutines.internal.**
42+
-keep class kotlin.coroutines.Continuation
43+
-keep class kotlinx.coroutines.CancellableContinuation
44+
-keep class kotlinx.coroutines.channels.Channel
45+
-keep class kotlinx.coroutines.CoroutineDispatcher
46+
-keep class kotlinx.coroutines.CoroutineScope
47+
# this is a weird one, but breaks build on some combinations of OS and JDK (reproduced on Windows 10 + Corretto 16)
48+
-dontwarn org.graalvm.compiler.core.aarch64.AArch64NodeMatchRules_MatchStatementSet*

0 commit comments

Comments
 (0)
Please sign in to comment.