From d70a57d6897682b7a69d17820bd70fb6441d3f38 Mon Sep 17 00:00:00 2001 From: Anton Lakotka Date: Sun, 8 Jan 2023 11:00:41 +0100 Subject: [PATCH] [Gradle, Test] Remove `ktor 1_5_4 and coroutines 1_4_3-native-mt` test as consuming coroutines 1.4.3-native-mt is no longer compatible with current KGP version. Since it transitively depends on old atomicfu of version 0.15.1. And that atomicfu library was published with experimental publication model by old Multiplatform Gradle Plugin --- .../native/NativeExternalDependenciesIT.kt | 30 ------------------- 1 file changed, 30 deletions(-) diff --git a/libraries/tools/kotlin-gradle-plugin-integration-tests/src/test/kotlin/org/jetbrains/kotlin/gradle/native/NativeExternalDependenciesIT.kt b/libraries/tools/kotlin-gradle-plugin-integration-tests/src/test/kotlin/org/jetbrains/kotlin/gradle/native/NativeExternalDependenciesIT.kt index ae53997f2b8..0e136225441 100644 --- a/libraries/tools/kotlin-gradle-plugin-integration-tests/src/test/kotlin/org/jetbrains/kotlin/gradle/native/NativeExternalDependenciesIT.kt +++ b/libraries/tools/kotlin-gradle-plugin-integration-tests/src/test/kotlin/org/jetbrains/kotlin/gradle/native/NativeExternalDependenciesIT.kt @@ -26,36 +26,6 @@ class NativeExternalDependenciesIT : BaseGradleIT() { assertNull(externalDependenciesText) } - @Test - fun `ktor 1_5_4 and coroutines 1_4_3-native-mt`() { - // These versions of Ktor and coroutines don't support macos-arm64 - assumeFalse(hostIsMacArm64()) - - buildProjectWithDependencies( - "io.ktor:ktor-io:1.5.4", - "org.jetbrains.kotlinx:kotlinx-coroutines-core:1.4.3-native-mt" - ) { externalDependenciesText -> - assertNotNull(externalDependenciesText) - - assertEquals( - """ - |0 native-external-dependencies - |1 io.ktor:ktor-io,io.ktor:ktor-io-$MASKED_TARGET_NAME[1.5.4] #0[1.5.4] - |${'\t'}/some/path/ktor-io.klib - |${'\t'}/some/path/ktor-io-cinterop-bits.klib - |${'\t'}/some/path/ktor-io-cinterop-sockets.klib - |2 org.jetbrains.kotlinx:atomicfu,org.jetbrains.kotlinx:atomicfu-$MASKED_TARGET_NAME[0.15.1] #3[0.15.1] #1[0.15.1] - |${'\t'}/some/path/atomicfu.klib - |${'\t'}/some/path/atomicfu-cinterop-interop.klib - |3 org.jetbrains.kotlinx:kotlinx-coroutines-core,org.jetbrains.kotlinx:kotlinx-coroutines-core-$MASKED_TARGET_NAME[1.4.3-native-mt] #0[1.4.3-native-mt] #1[1.4.3-native-mt] - |${'\t'}/some/path/kotlinx-coroutines-core.klib - | - """.trimMargin(), - externalDependenciesText - ) - } - } - @Test fun `ktor 1_5_4 and coroutines 1_5_0-RC-native-mt`() { // These versions of Ktor and coroutines don't support macos-arm64