https://kotlinlang.org logo
#multiplatform
Title
# multiplatform
g

galex

03/11/2019, 8:18 PM
Does someone have an example how to use coroutines with kotlin-native in a multiplatform project? After using https://github.com/Kotlin/kotlinx.coroutines/blob/master/native/README.md I get the following error:
Copy code
* What went wrong:
A problem occurred configuring root project 'analytics-core'.
> Failed to notify project evaluation listener.
   > Could not create an instance of type org.jetbrains.kotlin.gradle.plugin.experimental.internal.KotlinNativeTestExecutableImpl.
      > Could not create an instance of type org.gradle.language.internal.DefaultComponentDependencies.
         > Cannot add a configuration with name 'testDebugImplementation' as a configuration with that name already exists.
   > Cannot add task ':test' as a task with that name already exists.