diff --git a/gradle.properties b/gradle.properties index 229b9374e..03997feec 100644 --- a/gradle.properties +++ b/gradle.properties @@ -2,13 +2,15 @@ # Copyright 2018-2021 KMath contributors. # Use of this source code is governed by the Apache 2.0 license that can be found in the license/LICENSE.txt file. # -kotlin.code.style=official -kotlin.mpp.stability.nowarn=true -kotlin.native.ignoreDisabledTargets=true org.gradle.configureondemand=true org.gradle.jvmargs=-Xmx4096m org.gradle.parallel=true org.gradle.workers.max=4 -toolsVersion=0.15.6-kotlin-2.1.0-Beta1 -org.jetbrains.dokka.experimental.gradle.pluginMode=V2EnabledWithHelpers \ No newline at end of file +kotlin.code.style=official +kotlin.mpp.stability.nowarn=true +kotlin.native.ignoreDisabledTargets=true +org.jetbrains.dokka.experimental.gradle.pluginMode=V2EnabledWithHelpers +kotlin.native.enableKlibsCrossCompilation=true + +toolsVersion=0.16.0-kotlin-2.1.20-Beta1 diff --git a/kmath-ast/build.gradle.kts b/kmath-ast/build.gradle.kts index 2cd0979ae..f441c4a86 100644 --- a/kmath-ast/build.gradle.kts +++ b/kmath-ast/build.gradle.kts @@ -7,14 +7,18 @@ kscience { js{ nodejs { testTask { - useMocha().timeout = "0" + useMocha { + timeout = "0" + } } } browser { useCommonJs() testTask { - useMocha().timeout = "0" + useMocha { + timeout = "0" + } } } } diff --git a/kmath-memory/build.gradle.kts b/kmath-memory/build.gradle.kts index d2e50b10b..1be2f8a55 100644 --- a/kmath-memory/build.gradle.kts +++ b/kmath-memory/build.gradle.kts @@ -11,6 +11,10 @@ kscience { dependencies { api(projects.kmathCore) } + + wasmJsMain{ + api(spclibs.kotlinx.browser) + } } readme { diff --git a/kmath-tensors/build.gradle.kts b/kmath-tensors/build.gradle.kts index 64b253044..2df106974 100644 --- a/kmath-tensors/build.gradle.kts +++ b/kmath-tensors/build.gradle.kts @@ -7,7 +7,9 @@ kscience { js { browser { testTask { - useMocha().timeout = "0" + useMocha { + timeout = "0" + } } } }