From ea161426f20f69275aed714e85f525fb67e16b6c Mon Sep 17 00:00:00 2001 From: Oleksandr Karpovich Date: Mon, 26 Feb 2024 15:16:34 +0100 Subject: [PATCH] Remove coroutines version substitution for web targets (#4369) All targets (including desktop and ios) now should use coroutines 1.8.0 ___ According to COMPOSE-939 --- .../org/jetbrains/compose/ComposePlugin.kt | 17 ----------------- 1 file changed, 17 deletions(-) diff --git a/gradle-plugins/compose/src/main/kotlin/org/jetbrains/compose/ComposePlugin.kt b/gradle-plugins/compose/src/main/kotlin/org/jetbrains/compose/ComposePlugin.kt index e689e31c99..14b9c62991 100644 --- a/gradle-plugins/compose/src/main/kotlin/org/jetbrains/compose/ComposePlugin.kt +++ b/gradle-plugins/compose/src/main/kotlin/org/jetbrains/compose/ComposePlugin.kt @@ -87,23 +87,6 @@ abstract class ComposePlugin : Plugin { disableSignatureClashCheck(project) } - - // TODO: remove this (https://youtrack.jetbrains.com/issue/COMPOSE-939) - // we substitute the coroutines version for web targets in user projects, - // so they don't need to do that manually - project.configurations.all { - val isWeb = it.name.startsWith("wasmJs") || it.name.startsWith("js") - if (isWeb) { - it.resolutionStrategy.eachDependency { - if (it.requested.group.startsWith("org.jetbrains.kotlinx") && - it.requested.name.startsWith("kotlinx-coroutines-")) { - if (it.requested.version?.startsWith("1.7") == true) { - it.useVersion("1.8.0-RC2") - } - } - } - } - } } private fun disableSignatureClashCheck(project: Project) {