iamsteveholmes
03/19/2022, 7:39 AM-native-mt
? I’m getting this in my gradle dependencies:
+--- org.jetbrains.kotlinx:kotlinx-coroutines-core:{strictly 1.6.0-native-mt} FAILED
sam
03/19/2022, 12:23 PMiamsteveholmes
03/19/2022, 5:57 PM1.6.0
and that appears to mess up many of the libraries that depend on 1.6.0-native-mt
. However, as far as I can tell the compile dependencies resolve as I would expect them to to native-mt.
So releaseUnitTestRuntimeClasspath
seems to resolve to 1.6.0 while releaseUnitTestCompileClasspath
resolves to 1.6.0-native-mt. Any idea why it would differ?sam
03/19/2022, 5:59 PMiamsteveholmes
03/19/2022, 6:13 PMsam
03/19/2022, 6:13 PMsam
03/19/2022, 6:13 PMsam
03/19/2022, 6:13 PMsam
03/19/2022, 6:14 PMiamsteveholmes
03/19/2022, 6:19 PMval commonTest by getting {
dependencies {
implementation(kotlin("test"))
implementation(kotlin("test-common"))
implementation(kotlin("test-annotations-common"))
implementation("org.jetbrains.kotlinx:kotlinx-coroutines-test:$coroutines_version")
implementation("io.kotest:kotest-assertions-core:$kotest_version")
implementation("io.kotest:kotest-framework-engine:$kotest_version")
implementation("io.kotest:kotest-framework-datatest:$kotest_version")
implementation("io.kotest:kotest-assertions-core:$kotest_version")
}
}
sam
03/19/2022, 6:19 PMsam
03/19/2022, 6:19 PMiamsteveholmes
03/19/2022, 6:20 PMsam
03/19/2022, 6:20 PMsam
03/19/2022, 6:21 PMsam
03/19/2022, 6:22 PMconst val debug = "org.jetbrains.kotlinx:kotlinx-coroutines-debug:_"
const val coreCommon = "org.jetbrains.kotlinx:kotlinx-coroutines-core:_"
const val coreJvm = "org.jetbrains.kotlinx:kotlinx-coroutines-core-jvm:_"
const val coreNative = "org.jetbrains.kotlinx:kotlinx-coroutines-core-native:_"
const val jdk8 = "org.jetbrains.kotlinx:kotlinx-coroutines-jdk8:_"
const val test = "org.jetbrains.kotlinx:kotlinx-coroutines-test:_"
sam
03/19/2022, 6:22 PMiamsteveholmes
03/19/2022, 6:23 PMimplementation("org.jetbrains.kotlinx:kotlinx-coroutines-core:$coroutines_version") {
version { strictly(coroutines_version) }
}
iamsteveholmes
03/19/2022, 6:23 PMsam
03/19/2022, 6:23 PMsam
03/19/2022, 6:23 PMsam
03/19/2022, 6:23 PMiamsteveholmes
03/19/2022, 6:25 PMsam
03/19/2022, 6:25 PMiamsteveholmes
03/19/2022, 6:29 PMiamsteveholmes
03/19/2022, 6:30 PMiamsteveholmes
03/19/2022, 6:34 PMiamsteveholmes
03/19/2022, 6:34 PM./gradlew :shared:dependencies
you’ll see what I meaniamsteveholmes
03/19/2022, 6:36 PMsam
03/19/2022, 6:46 PMSDK location not found. Define location with an ANDROID_SDK_ROOT environment variable or by setting the sdk.dir path in your project's local properties file at '/home/sam/development/workspace/KotestNativeMt/local.properties'.
iamsteveholmes
03/19/2022, 6:51 PMsdk.dir=/Users/steve/Library/Android/sdk
sam
03/19/2022, 6:51 PMsam
03/19/2022, 6:51 PMsam
03/19/2022, 6:51 PMiamsteveholmes
03/19/2022, 6:52 PMsam
03/19/2022, 6:52 PMsam
03/19/2022, 6:52 PMsam
03/19/2022, 6:52 PMiamsteveholmes
03/19/2022, 6:53 PMiamsteveholmes
03/19/2022, 6:53 PMsam
03/19/2022, 6:54 PMiamsteveholmes
03/19/2022, 6:54 PMiamsteveholmes
03/19/2022, 6:54 PMsam
03/19/2022, 6:54 PMiamsteveholmes
03/19/2022, 6:57 PMsam
03/19/2022, 6:58 PMsam
03/19/2022, 6:58 PMsam
03/19/2022, 6:59 PMiamsteveholmes
03/19/2022, 7:13 PMandroid.testOptions {
unitTests.all {
useJUnitPlatform()
}
}
iamsteveholmes
03/22/2022, 6:17 AM