2019-02-13 18:21:51 +03:00
|
|
|
plugins {
|
|
|
|
kotlin("multiplatform")
|
|
|
|
}
|
|
|
|
|
|
|
|
kotlin {
|
|
|
|
jvm()
|
|
|
|
js()
|
|
|
|
|
2019-04-23 22:31:05 +03:00
|
|
|
sourceSets {
|
|
|
|
|
|
|
|
val commonMain by getting {
|
2019-02-13 18:21:51 +03:00
|
|
|
dependencies {
|
|
|
|
api(project(":kmath-core"))
|
|
|
|
}
|
|
|
|
}
|
2019-04-23 22:31:05 +03:00
|
|
|
val commonTest by getting {
|
2019-02-13 18:21:51 +03:00
|
|
|
dependencies {
|
|
|
|
implementation(kotlin("test-common"))
|
|
|
|
implementation(kotlin("test-annotations-common"))
|
|
|
|
}
|
|
|
|
}
|
2019-04-23 22:31:05 +03:00
|
|
|
val jvmTest by getting {
|
2019-02-13 18:21:51 +03:00
|
|
|
dependencies {
|
|
|
|
implementation(kotlin("test"))
|
|
|
|
implementation(kotlin("test-junit"))
|
|
|
|
}
|
|
|
|
}
|
2019-04-23 22:31:05 +03:00
|
|
|
val jsTest by getting {
|
2019-02-13 18:21:51 +03:00
|
|
|
dependencies {
|
|
|
|
implementation(kotlin("test-js"))
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
2019-04-23 22:31:05 +03:00
|
|
|
}
|