Browse Source

Update default ProGuard rules with changes from main branch

release/1.2.2
Alexey Tsvetkov 2 years ago committed by GitHub
parent
commit
e6b2f0b8d0
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
  1. 15
      gradle-plugins/compose/src/main/resources/default-compose-desktop-rules.pro

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

@ -31,3 +31,18 @@
# https://github.com/Kotlin/kotlinx.coroutines/issues/2046
-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*

Loading…
Cancel
Save