diff options
author | Leonid Startsev <sandwwraith@gmail.com> | 2018-10-16 12:46:06 +0300 |
---|---|---|
committer | Leonid Startsev <sandwwraith@gmail.com> | 2018-10-16 12:46:06 +0300 |
commit | 4ae3d34a05616d6542eca2b88afc7e30f9a0d9b6 (patch) | |
tree | bec2ae7fbfd161ede637138352e2e94d7edd22bd /docs | |
parent | 2aa53f3b8b7ce71c3b2726bef48db782ec4f2206 (diff) | |
download | kotlinx.serialization-4ae3d34a05616d6542eca2b88afc7e30f9a0d9b6.tar.gz |
Update info about applying native plugin
Diffstat (limited to 'docs')
-rw-r--r-- | docs/eap13.md | 5 |
1 files changed, 5 insertions, 0 deletions
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. |