2018-12-11 17:25:55 +03:00
|
|
|
plugins {
|
|
|
|
id "org.jetbrains.kotlin.multiplatform"
|
|
|
|
}
|
|
|
|
|
|
|
|
kotlin {
|
2019-02-03 13:07:35 +03:00
|
|
|
jvm()
|
|
|
|
js()
|
2018-12-11 17:25:55 +03:00
|
|
|
sourceSets {
|
|
|
|
commonMain {
|
|
|
|
dependencies {
|
|
|
|
api project(":kmath-core")
|
|
|
|
api "org.jetbrains.kotlinx:kotlinx-coroutines-core-common:$coroutinesVersion"
|
|
|
|
}
|
|
|
|
}
|
|
|
|
commonTest {
|
|
|
|
dependencies {
|
|
|
|
api 'org.jetbrains.kotlin:kotlin-test-common'
|
|
|
|
api 'org.jetbrains.kotlin:kotlin-test-annotations-common'
|
|
|
|
}
|
|
|
|
}
|
|
|
|
jvmMain {
|
|
|
|
dependencies {
|
|
|
|
api "org.jetbrains.kotlinx:kotlinx-coroutines-core:$coroutinesVersion"
|
|
|
|
}
|
|
|
|
}
|
|
|
|
jvmTest {
|
|
|
|
dependencies {
|
|
|
|
implementation 'org.jetbrains.kotlin:kotlin-test'
|
|
|
|
implementation 'org.jetbrains.kotlin:kotlin-test-junit'
|
|
|
|
}
|
|
|
|
}
|
2019-02-03 13:07:35 +03:00
|
|
|
jsMain{
|
|
|
|
dependencies{
|
|
|
|
api "org.jetbrains.kotlinx:kotlinx-coroutines-core-js:$coroutinesVersion"
|
|
|
|
}
|
|
|
|
}
|
2018-12-11 17:25:55 +03:00
|
|
|
// mingwMain {
|
|
|
|
// }
|
|
|
|
// mingwTest {
|
|
|
|
// }
|
|
|
|
}
|
|
|
|
}
|