2019-01-30 18:57:14 +03:00
|
|
|
plugins {
|
2019-06-22 14:29:37 +03:00
|
|
|
id("scientifik.mpp")
|
2019-01-30 18:57:14 +03:00
|
|
|
}
|
|
|
|
|
2019-06-28 10:19:58 +03:00
|
|
|
val coroutinesVersion: String = Scientifik.coroutinesVersion
|
2019-01-30 18:57:14 +03:00
|
|
|
|
|
|
|
kotlin {
|
|
|
|
sourceSets {
|
|
|
|
val commonMain by getting{
|
|
|
|
dependencies {
|
|
|
|
api(project(":dataforge-meta"))
|
|
|
|
api("org.jetbrains.kotlinx:kotlinx-coroutines-core-common:$coroutinesVersion")
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
val jvmMain by getting{
|
|
|
|
dependencies {
|
|
|
|
api("org.jetbrains.kotlinx:kotlinx-coroutines-core:$coroutinesVersion")
|
2019-08-07 19:28:44 +03:00
|
|
|
api(kotlin("reflect"))
|
2019-01-30 18:57:14 +03:00
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
val jsMain by getting{
|
|
|
|
dependencies {
|
|
|
|
api("org.jetbrains.kotlinx:kotlinx-coroutines-core-js:$coroutinesVersion")
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|