Hannes
12/01/2019, 7:31 PMFlow
. Is there any material how to get started with that? I looked into existing multiplaform libraries configs on github and copied most build.gradle
config but I get a lot of unresolved reference
errors while compiling:
library/src/commonMain/kotlin/com/freeletics/flowredux/FlowRedux.kt: (7, 32): Unresolved reference: Flow
louiscad
12/01/2019, 7:34 PMHannes
12/01/2019, 7:36 PMapi "org.jetbrains.kotlinx:kotlinx-coroutines-core-common:1.3.2"
. Is there another "native artifact"?org.jetbrains.kotlinx:kotlinx-coroutines-core-native:1.3.2
works, thanks for your help @louiscad'org.jetbrains.kotlin:kotlin-stdlib-common'
the proper artifact to include in commonMain
or is there another "native artifact" for stdlib I have to use?louiscad
12/01/2019, 7:43 PMnative
in place of common
, and it works for Android too, because it holds all the Gradle metadata (Gradle 5.3+ required) that links to the right artifacts for each supported platform. You just have to declare it for commonMain. Note that 1.3.2 is Kotlin/Native 1.3.50 only. Use 1.3.2-1.3.60
or 1.3.2-native-mt-1
for Kotlin/Native 1.3.60.Hannes
12/01/2019, 7:46 PMmbonnin
12/01/2019, 10:04 PMlouiscad
12/02/2019, 2:04 AM