kmath/kmath-ast/build.gradle.kts
2020-11-14 21:29:28 +07:00

42 lines
829 B
Plaintext

plugins {
id("ru.mipt.npm.mpp")
}
kotlin.js {
nodejs { // or `browser`
testTask {
useMocha().timeout = "0"
}
}
browser {
testTask {
useMocha().timeout = "0"
}
}
}
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")
}
}
jsMain {
dependencies {
implementation(npm("binaryen", "98.0.0-nightly.20201113"))
implementation(npm("js-base64", "3.6.0"))
implementation(npm("webassembly", "0.11.0"))
}
}
}