Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

JPMS: coroutines-core-jvm uses package name kotlinx.coroutines.test #3218

Closed
hfhbd opened this issue Mar 13, 2022 · 1 comment
Closed

JPMS: coroutines-core-jvm uses package name kotlinx.coroutines.test #3218

hfhbd opened this issue Mar 13, 2022 · 1 comment

Comments

@hfhbd
Copy link
Contributor

hfhbd commented Mar 13, 2022

I want to use the new multiplatform test feature from 1.6.0.
Unfortunately, we use JPMS, which fails with this error message:

module io.ktor.io reads package kotlinx.coroutines.test from both kotlinx.coroutines.test.jvm and kotlinx.coroutines.core.jvm

Reason: coroutines-core uses the same package kotlinx.coroutines.test: https://github.com/Kotlin/kotlinx.coroutines/blob/master/kotlinx-coroutines-core/jvm/src/test_/TestCoroutineContext.kt

Maybe related: #3128

@qwwdfsad
Copy link
Member

We'll drop kotlinx.coroutines.test in the next major release, it contains pre-1.0.0 obsolete test classes

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants