From bf4a0d59b119116dadcfb66f79396add41254e14 Mon Sep 17 00:00:00 2001 From: Talo Halton Date: Thu, 18 Jul 2024 19:13:31 +0100 Subject: [PATCH 1/2] Use Kotlin 2.0.0, add wasmJs target --- build.gradle.kts | 5 +++++ gradle.properties | 2 +- 2 files changed, 6 insertions(+), 1 deletion(-) diff --git a/build.gradle.kts b/build.gradle.kts index 239ec76..cd3aa56 100644 --- a/build.gradle.kts +++ b/build.gradle.kts @@ -68,6 +68,11 @@ kotlin { nodejs() } + wasmJs { + browser() + nodejs() + } + sourceSets { val commonMain by getting diff --git a/gradle.properties b/gradle.properties index db364bc..ce889d8 100644 --- a/gradle.properties +++ b/gradle.properties @@ -6,7 +6,7 @@ projectVersion=1.0.3-dev moduleDocsPath=./docs/module.md -kotlinVersion=1.9.22 +kotlinVersion=2.0.0 dokkaVersion=1.9.10 From ab498b3f6dafdadfd17b231ec6c8dfefccf53c01 Mon Sep 17 00:00:00 2001 From: Talo Halton Date: Thu, 18 Jul 2024 19:27:49 +0100 Subject: [PATCH 2/2] Update README.md --- README.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/README.md b/README.md index 816d665..e54c7cc 100644 --- a/README.md +++ b/README.md @@ -59,7 +59,7 @@ allPaletteColors ``` ## What targets are currently supported? -Currently supported targets are JVM and JS. Native targets are coming soon! Let me know if you miss the support of them. +Currently supported targets are JVM, WASM, and JS. Native targets are coming soon! Let me know if you miss the support of them. ## Contributing