2019-01-30 18:57:14 +03:00
|
|
|
plugins {
|
2019-04-30 14:57:48 +03:00
|
|
|
`multiplatform-config`
|
2019-01-30 18:57:14 +03:00
|
|
|
}
|
|
|
|
|
2019-04-30 14:57:48 +03:00
|
|
|
val coroutinesVersion: String = Versions.coroutinesVersion
|
2019-01-30 18:57:14 +03:00
|
|
|
|
|
|
|
kotlin {
|
|
|
|
jvm()
|
|
|
|
js()
|
|
|
|
sourceSets {
|
|
|
|
val commonMain by getting{
|
|
|
|
dependencies {
|
|
|
|
api(project(":dataforge-meta"))
|
2019-03-20 22:12:27 +03:00
|
|
|
api(kotlin("reflect"))
|
2019-01-30 18:57:14 +03:00
|
|
|
api("org.jetbrains.kotlinx:kotlinx-coroutines-core-common:$coroutinesVersion")
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
val jvmMain by getting{
|
|
|
|
dependencies {
|
|
|
|
api("org.jetbrains.kotlinx:kotlinx-coroutines-core:$coroutinesVersion")
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
val jsMain by getting{
|
|
|
|
dependencies {
|
|
|
|
api("org.jetbrains.kotlinx:kotlinx-coroutines-core-js:$coroutinesVersion")
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|