From 25791393c1521cbf655ba9cd35500258ee43e9cd Mon Sep 17 00:00:00 2001 From: Walter Huf Date: Sat, 6 Apr 2024 11:19:02 -0700 Subject: [PATCH] Add wasmJs platform --- build.gradle | 2 +- core/build.gradle | 10 ++++++++-- 2 files changed, 9 insertions(+), 3 deletions(-) diff --git a/build.gradle b/build.gradle index adb0893..f525433 100644 --- a/build.gradle +++ b/build.gradle @@ -1,6 +1,6 @@ buildscript { - ext.kotlin_version = '1.9.0' + ext.kotlin_version = '1.9.20' repositories { google() jcenter() diff --git a/core/build.gradle b/core/build.gradle index c7bda49..527389b 100644 --- a/core/build.gradle +++ b/core/build.gradle @@ -10,9 +10,11 @@ kotlin { jvm { } + js {} + wasmJs {} + sourceSets { commonMain { - } commonTest { dependencies { @@ -23,8 +25,12 @@ kotlin { dependencies { implementation project(path: ':etch') } - } + + jsMain {} + jsTest {} + wasmJsMain {} + wasmJsTest {} } } sourceCompatibility = "1.8"