From e6b2f0b8d0dab37529717942859ddc019ceaeecb Mon Sep 17 00:00:00 2001 From: Alexey Tsvetkov <654232+AlexeyTsvetkov@users.noreply.github.com> Date: Tue, 13 Dec 2022 06:50:02 +0100 Subject: [PATCH] Update default ProGuard rules with changes from main branch --- .../resources/default-compose-desktop-rules.pro | 17 ++++++++++++++++- 1 file changed, 16 insertions(+), 1 deletion(-) diff --git a/gradle-plugins/compose/src/main/resources/default-compose-desktop-rules.pro b/gradle-plugins/compose/src/main/resources/default-compose-desktop-rules.pro index 2ef55d7a5e..89455d78d3 100644 --- a/gradle-plugins/compose/src/main/resources/default-compose-desktop-rules.pro +++ b/gradle-plugins/compose/src/main/resources/default-compose-desktop-rules.pro @@ -30,4 +30,19 @@ -dontwarn org.codehaus.mojo.animal_sniffer.IgnoreJRERequirement # https://github.com/Kotlin/kotlinx.coroutines/issues/2046 --dontwarn android.annotation.SuppressLint \ No newline at end of file +-dontwarn android.annotation.SuppressLint + +# https://github.com/JetBrains/compose-jb/issues/2393 +-dontnote kotlin.coroutines.jvm.internal.** +-dontnote kotlin.internal.** +-dontnote kotlin.jvm.internal.** +-dontnote kotlin.reflect.** +-dontnote kotlinx.coroutines.debug.internal.** +-dontnote kotlinx.coroutines.internal.** +-keep class kotlin.coroutines.Continuation +-keep class kotlinx.coroutines.CancellableContinuation +-keep class kotlinx.coroutines.channels.Channel +-keep class kotlinx.coroutines.CoroutineDispatcher +-keep class kotlinx.coroutines.CoroutineScope +# this is a weird one, but breaks build on some combinations of OS and JDK (reproduced on Windows 10 + Corretto 16) +-dontwarn org.graalvm.compiler.core.aarch64.AArch64NodeMatchRules_MatchStatementSet*