[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
This commit is contained in:
Anton Lakotka
2023-01-08 11:00:41 +01:00
committed by Space Team
parent b730bfe51e
commit d70a57d689
@@ -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