Elka
11/13/2020, 4:16 PMiosArm32
kotlin.mpp.enableGranularSourceSetsMetadata=true
kotlin.native.enableDependencyPropagation=false
I am getting Gradle import errors
and the IDE is not recognizing anything (no code highlighting, no code navigation…)
The error is
Unable to build Kotlin project configuration
Details: java.lang.reflect.InvocationTargetException: null
Caused by: java.lang.IllegalStateException: Couldn't resolve metadata artifact for ModuleDependencyIdentifier(groupId=org.jetbrains.kotlinx, moduleId=kotlinx-coroutines-core) in configuration ':shared:iosArm32CompileKlibraries'
HOWEVER, when I don’t use the coroutines-native-mt branch the gradle configuration works fine.
implementation ("org.jetbrains.kotlinx:kotlinx-coroutines-core:$versions.coroutines") {
version {
strictly '1.3.9-native-mt'
}
}
force = true
to nativeMain
dependencies fixed the problem
implementation ("org.jetbrains.kotlinx:kotlinx-coroutines-core:$versions.coroutines") {
force = true
}