2020-09-20 12:36:48 +03:00
|
|
|
plugins {
|
2020-09-20 21:59:10 +03:00
|
|
|
id("ru.mipt.npm.mpp")
|
2020-09-20 12:36:48 +03:00
|
|
|
}
|
2020-06-12 10:40:59 +03:00
|
|
|
|
2020-11-10 22:24:33 +03:00
|
|
|
kotlin.js {
|
|
|
|
nodejs { // or `browser`
|
|
|
|
testTask {
|
2020-11-14 17:29:28 +03:00
|
|
|
useMocha().timeout = "0"
|
2020-11-10 22:24:33 +03:00
|
|
|
}
|
|
|
|
}
|
|
|
|
|
2020-11-14 17:29:28 +03:00
|
|
|
browser {
|
2020-11-10 22:24:33 +03:00
|
|
|
testTask {
|
2020-11-14 17:29:28 +03:00
|
|
|
useMocha().timeout = "0"
|
2020-11-10 22:24:33 +03:00
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
2020-06-12 10:40:59 +03:00
|
|
|
kotlin.sourceSets {
|
|
|
|
commonMain {
|
|
|
|
dependencies {
|
|
|
|
api(project(":kmath-core"))
|
|
|
|
}
|
|
|
|
}
|
2020-06-13 20:24:10 +03:00
|
|
|
|
|
|
|
jvmMain {
|
|
|
|
dependencies {
|
2020-10-13 13:34:48 +03:00
|
|
|
api("com.github.h0tk3y.betterParse:better-parse:0.4.0")
|
2020-06-13 20:24:10 +03:00
|
|
|
implementation("org.ow2.asm:asm:8.0.1")
|
|
|
|
implementation("org.ow2.asm:asm-commons:8.0.1")
|
2020-06-12 16:56:58 +03:00
|
|
|
}
|
|
|
|
}
|
2020-11-09 15:38:52 +03:00
|
|
|
|
|
|
|
jsMain {
|
|
|
|
dependencies {
|
2020-11-14 17:29:28 +03:00
|
|
|
implementation(npm("binaryen", "98.0.0-nightly.20201113"))
|
2020-11-09 15:38:52 +03:00
|
|
|
implementation(npm("js-base64", "3.6.0"))
|
2020-11-10 22:24:33 +03:00
|
|
|
implementation(npm("webassembly", "0.11.0"))
|
2020-11-09 15:38:52 +03:00
|
|
|
}
|
|
|
|
}
|
2020-09-08 12:40:47 +03:00
|
|
|
}
|