From a502c9f6865e64dc2098642dd46df7de8d314d59 Mon Sep 17 00:00:00 2001 From: severn-everett Date: Mon, 27 May 2024 11:07:25 +0200 Subject: [PATCH] Upgrading Kotlin to 2.0.0 (#282) --- .gitignore | 1 + build.gradle.kts | 5 ++--- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/.gitignore b/.gitignore index bd14b5fb..bd72ed8e 100644 --- a/.gitignore +++ b/.gitignore @@ -3,6 +3,7 @@ target build .gradle +.kotlin *~ *.versionsBackup **/karma/node_modules diff --git a/build.gradle.kts b/build.gradle.kts index 4672c1d3..d14275e3 100644 --- a/build.gradle.kts +++ b/build.gradle.kts @@ -6,7 +6,7 @@ import org.jetbrains.kotlin.gradle.targets.js.dsl.ExperimentalWasmDsl * -PversionTag - works together with "branch-build" profile and overrides "-SNAPSHOT" suffix of the version. */ plugins { - kotlin("multiplatform") version "1.9.22" + kotlin("multiplatform") version "2.0.0" id("maven-publish") id("signing") id("org.jetbrains.kotlinx.binary-compatibility-validator") version "0.13.2" @@ -131,8 +131,7 @@ kotlin { common { group("jsCommon") { withJs() - // TODO: switch to `withWasmJs()` after upgrade to Kotlin 2.0 - withWasm() + withWasmJs() } } }