From 604ef1b3470b852f303836989003ba39012b7a1e Mon Sep 17 00:00:00 2001 From: InsanusMokrassar Date: Thu, 13 Apr 2023 10:52:05 +0600 Subject: [PATCH] add wasm support --- build.gradle | 12 ++++++++++++ gradle/libs.versions.toml | 2 +- 2 files changed, 13 insertions(+), 1 deletion(-) diff --git a/build.gradle b/build.gradle index 4fb6698..c3e70ea 100644 --- a/build.gradle +++ b/build.gradle @@ -50,6 +50,11 @@ kotlin { linuxArm64() linuxArm32Hfp() linuxX64() + wasm { + browser() + nodejs() + d8() + } wasm32() mingwX64() mingwX86() @@ -60,6 +65,13 @@ kotlin { implementation libs.kotlin } } + commonTest { + dependencies { + implementation libs.kotlin.test.common + implementation libs.kotlin.test.annotations.common + implementation libs.kotlin.test.junit + } + } } } diff --git a/gradle/libs.versions.toml b/gradle/libs.versions.toml index 563ef2b..e265d10 100644 --- a/gradle/libs.versions.toml +++ b/gradle/libs.versions.toml @@ -5,7 +5,7 @@ kotlin-gradle-plugin = "7.3.1" dokka = "1.8.10" -dexcount = "3.1.0" +dexcount = "4.0.0" junit_version = "4.12" test_ext_junit_version = "1.1.3" espresso_core = "3.4.0"