From 4ae3d34a05616d6542eca2b88afc7e30f9a0d9b6 Mon Sep 17 00:00:00 2001 From: Leonid Startsev Date: Tue, 16 Oct 2018 12:46:06 +0300 Subject: Update info about applying native plugin --- docs/eap13.md | 5 +++++ 1 file changed, 5 insertions(+) (limited to 'docs') diff --git a/docs/eap13.md b/docs/eap13.md index 85499dac..0c37b427 100644 --- a/docs/eap13.md +++ b/docs/eap13.md @@ -70,6 +70,11 @@ Use `kotlinx-serialization-runtime-js` and `kotlinx-serialization-runtime-common You can apply the plugin to `kotlin-platform-native` or `kotlin-multiplatform` projects. `konan` plugin is not supported and deprecated. +**Important note**: for `kotlin-multiplatform` project, apply usual `kotlinx-serailization` plugin. +For `kotlin-platform-native` module, apply `kotlinx-serialization-native` plugin, +since platform-native from K/N 0.9.3 uses infrastructure in which compiler plugins [are shaded](https://github.com/JetBrains/kotlin-native/issues/2210#issuecomment-429753168). + + Use `kotlinx-serialization-runtime-native` artifact. Don't forget to `enableFeaturePreview('GRADLE_METADATA')` in yours `settings.gradle`. You must have Gradle 4.7, because higher versions have unsupported format of metadata. -- cgit v1.2.3