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