Ellen Shapiro
03/04/2019, 8:08 PMkotlin-multiplatform
plugin and the kotlin-native-platform
plugin and when to use each?GarouDan
03/04/2019, 8:18 PMkotlin-multiplatform
plugin to build android, ios (native), javascript and jvm modules.Ellen Shapiro
03/04/2019, 8:20 PMmultiplatform
before but now coroutines have decided to hate on meGarouDan
03/04/2019, 8:23 PMkotlin-multiplatform
to all kind of projects. But you need to configure it property, inside the kotlin
section. I think kotlin-native-platform
is to just create native applications. I’ll suggest trying to change all of them to
plugins {
kotlin("multiplatform")
}
kotlin {
...
if you are using build.gradle.kts
configuration files.
But I’m afraid I can’t help you with coroutines in mpp projects. I’m using them on a jvm application only.Ellen Shapiro
03/04/2019, 8:24 PMSam
03/04/2019, 8:27 PMEllen Shapiro
03/04/2019, 8:31 PMSam
03/04/2019, 9:04 PMolonho
03/05/2019, 7:50 AMkotlin-multiplatform
pluginEllen Shapiro
03/05/2019, 10:06 AMSam
03/05/2019, 1:27 PMEllen Shapiro
03/05/2019, 5:31 PMkotlin-native-platform
is for just native, whereas mutliplatform
supports (duh) multiple platforms.Ellen Shapiro
03/05/2019, 5:31 PM