From 74a2c89ec8476e7eb93bb0189fe1ead9182d79a1 Mon Sep 17 00:00:00 2001 From: Russell Banks <74878137+russellbanks@users.noreply.github.com> Date: Wed, 27 Sep 2023 20:25:47 +0100 Subject: [PATCH] Add note to ReadMe on experimental non-JVM usage --- README.md | 12 ++++++------ build.gradle.kts | 3 --- 2 files changed, 6 insertions(+), 9 deletions(-) diff --git a/README.md b/README.md index b7cc51e9..0af57cd5 100644 --- a/README.md +++ b/README.md @@ -11,9 +11,9 @@ This library adds YAML support to [kotlinx.serialization](https://github.com/Kot Currently, only Kotlin/JVM is fully supported. -Kotlin/JS support is considered highly experimental. It is not yet fully functional, and may be removed or modified at any time. +Kotlin/JS and Kotlin/Native support is currently experimental. It has not been tested to the same extent as Kotlin/JVM and may be modified at any time. -(Follow [this issue](https://github.com/charleskorn/kaml/issues/232) for a discussion of adding support for other targets.) +(Follow [this issue](https://github.com/charleskorn/kaml/issues/232) for a discussion and progress on the stability of Kotlin/JS and Kotlin/Native.) YAML version 1.2 is supported. @@ -88,8 +88,8 @@ Add the following to your Gradle build script: ```groovy plugins { - id 'org.jetbrains.kotlin.jvm' version '1.4.20' - id 'org.jetbrains.kotlin.plugin.serialization' version '1.4.20' + id 'org.jetbrains.kotlin.multiplatform' version '1.9.10' + id 'org.jetbrains.kotlin.plugin.serialization' version '1.9.10' } dependencies { @@ -101,8 +101,8 @@ dependencies { ```kotlin plugins { - kotlin("jvm") version "1.4.20" - kotlin("plugin.serialization") version "1.4.20" + kotlin("multiplatform") version "1.9.10" + kotlin("plugin.serialization") version "1.9.10" } dependencies { diff --git a/build.gradle.kts b/build.gradle.kts index 2eb52f75..fab0b030 100644 --- a/build.gradle.kts +++ b/build.gradle.kts @@ -84,15 +84,12 @@ kotlin { } val jvmMain by getting { - dependencies { implementation("org.snakeyaml:snakeyaml-engine:2.6") } } val jvmTest by getting { - dependsOn(commonTest) - dependencies { implementation("io.kotest:kotest-runner-junit5:5.6.2") }