2019-02-13 18:21:51 +03:00
|
|
|
plugins {
|
2019-04-17 12:24:06 +03:00
|
|
|
id("multiplatform-config")
|
2019-02-13 18:21:51 +03:00
|
|
|
}
|
|
|
|
|
|
|
|
kotlin {
|
|
|
|
jvm()
|
|
|
|
js()
|
|
|
|
|
2019-04-17 12:24:06 +03:00
|
|
|
sourceSets.invoke {
|
|
|
|
commonMain {
|
2019-02-13 18:21:51 +03:00
|
|
|
dependencies {
|
|
|
|
api(project(":kmath-core"))
|
|
|
|
}
|
|
|
|
}
|
2019-04-17 12:24:06 +03:00
|
|
|
commonTest {
|
2019-02-13 18:21:51 +03:00
|
|
|
dependencies {
|
|
|
|
implementation(kotlin("test-common"))
|
|
|
|
implementation(kotlin("test-annotations-common"))
|
|
|
|
}
|
|
|
|
}
|
2019-04-17 12:24:06 +03:00
|
|
|
"jvmTest" {
|
2019-02-13 18:21:51 +03:00
|
|
|
dependencies {
|
|
|
|
implementation(kotlin("test"))
|
|
|
|
implementation(kotlin("test-junit"))
|
|
|
|
}
|
|
|
|
}
|
2019-04-17 12:24:06 +03:00
|
|
|
"jsTest" {
|
2019-02-13 18:21:51 +03:00
|
|
|
dependencies {
|
|
|
|
implementation(kotlin("test-js"))
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
2019-04-17 12:24:06 +03:00
|
|
|
}
|