I am importing: ```val commonTest by getting { ...
# coroutines
d
I am importing:
Copy code
val commonTest by getting {
    dependencies {
        implementation(kotlin("test-common"))
        implementation(kotlin("test-annotations-common"))
        implementation ("org.jetbrains.kotlinx:kotlinx-coroutines-test:1.4.3")
    }
}
and I am getting this:
org.gradle.internal.resolve.ArtifactNotFoundException: Could not find kotlinx-coroutines-test-1.4.3-samplessources.jar (org.jetbrains.kotlinx:kotlinx-coroutines-test:1.4.3).
m
I believe the coroutines-test library is only available for JVM, so you cannot include in in
commonTest
.
d
you are right, thanks!
m
I would love to see this ported to common, so I could test more code using common test source set.
d
yes, I wish too!
💯 1
e
I, too, would really like to see this!
r
That "samplessources" artifact classifier is weird. I think its a bug with the way the MPP project model is built. I created FYI, I created https://youtrack.jetbrains.com/issue/KT-46153 to track it.