kmath/kmath-ast/build.gradle.kts

46 lines
948 B
Plaintext
Raw Normal View History

plugins {
id("ru.mipt.npm.mpp")
}
2020-06-12 10:40:59 +03:00
2020-11-10 22:24:33 +03:00
kotlin.js {
nodejs { // or `browser`
testTask {
useMocha {
timeout = "0"// mochaTimeout here as string
}
}
}
browser { // or `browser`
testTask {
useMocha {
timeout = "0"// mochaTimeout here as string
}
}
}
}
2020-06-12 10:40:59 +03:00
kotlin.sourceSets {
commonMain {
dependencies {
api(project(":kmath-core"))
}
}
jvmMain {
dependencies {
api("com.github.h0tk3y.betterParse:better-parse:0.4.0")
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
}
}
jsMain {
dependencies {
implementation(npm("binaryen", "98.0.0"))
implementation(npm("js-base64", "3.6.0"))
2020-11-10 22:24:33 +03:00
implementation(npm("webassembly", "0.11.0"))
}
}
}