kotlin-gradle-plugin

Getting kotlinx serialization working in multiplatform project

不羁的心 提交于 2020-06-29 06:43:31
问题 I'm taking Kotlin seriazliation for a test drive in a multiplatform project in Kotlin 1.4-M2, following the tutorial on github, but i'm not getting the serialization bit to compile. This is my build.gradle.kts plugins { val kotlinVersion = "1.4-M2" kotlin("multiplatform") version kotlinVersion kotlin("plugin.serialization") version kotlinVersion } repositories { mavenCentral() maven { url = uri("https://dl.bintray.com/kotlin/kotlin-eap") } maven { url = uri("https://kotlin.bintray.com/kotlinx