bkenn
12/04/2017, 7:59 PMError:(3, 1) Kotlin: The feature "multi platform projects" is experimental and should be enabled explicitly.
I cannot find any documentation on where to enable multiplatform build. I tried
kotlin {
experimental {
multiplatform 'enable'
}
}
but this doesn't work. Anyone run into this issue?Czar
12/04/2017, 8:35 PMCzar
12/04/2017, 8:42 PMCzar
12/04/2017, 8:43 PMbuild.gradle
file you'll find explicitely applied kotlin-platform-*
plugins. Probably you're missing thosebkenn
12/04/2017, 8:51 PMbkenn
12/04/2017, 9:39 PMDuplicate JVM class name 'us/nightware/kmod/DateTimeKt'
. So I was creating a class DateTime at the same level in the same named file. I moved the common DateTime to a file called PlatformCommon.kt
and it runs without errors.Czar
12/05/2017, 7:02 AM