Dico
11/15/2018, 4:08 AMkotlinx-coroutines-core-native:1.0.1
as a dependency on a platform using the mingwX64
preset.
When specifying this dependency, gradle is not able to resolve it, despite the correct repositories being referenced.
When specifying common
variant of the dependency, gradle is able to resolve it, but no symbols are accessible in IntelliJ. All references remain unresolved.
I made a new barebones multiplatform project, and I have the same problem. I also tried kotlinx-serialization-runtime-native:0.9.0
and coroutines version 1.0.0 and I got the same results on both attempts. Setting kotlin_native_version
in gradle.properties has no effect. GRADLE_METADATA
feature is enabled. Repositories are present. What else could be going wrong?Dico
11/15/2018, 4:11 AMplugins {
id 'kotlin-multiplatform' version '1.3.10'
// id 'org.jetbrains.kotlin.platform.native' version '1.3.10'
}
repositories {
mavenCentral()
maven { url '<http://kotlin.bintray.com/kotlin-dev>' }
maven { url '<http://kotlin.bintray.com/kotlinx>' }
}
kotlin {
targets {
fromPreset(presets.mingwX64, 'mingw')
}
sourceSets {
mingwMain {
dependencies {
implementation 'org.jetbrains.kotlinx:kotlinx-serialization-runtime-common:0.9.0'
//implementation 'org.jetbrains.kotlinx:kotlinx-serialization-runtime-common:0.9.0'
//implementation 'org.jetbrains.kotlinx:kotlinx-coroutines-core-common:1.0.1'
implementation 'org.jetbrains.kotlinx:kotlinx-coroutines-core-native:1.0.0'
}
}
}
}
olonho
11/15/2018, 6:58 AMDico
11/15/2018, 1:08 PMDico
11/15/2018, 1:26 PMDico
11/15/2018, 3:33 PMDico
11/15/2018, 3:36 PMDico
11/15/2018, 7:27 PMDico
11/15/2018, 7:27 PM