2019-01-27 17:12:46 +03:00
|
|
|
plugins {
|
2019-05-09 13:52:26 +03:00
|
|
|
`npm-multiplatform`
|
2019-01-27 17:12:46 +03:00
|
|
|
}
|
|
|
|
|
|
|
|
description = "Context and provider definitions"
|
|
|
|
|
2019-04-30 14:57:48 +03:00
|
|
|
val coroutinesVersion: String = Versions.coroutinesVersion
|
2019-01-27 17:12:46 +03:00
|
|
|
|
|
|
|
kotlin {
|
2019-01-27 17:16:40 +03:00
|
|
|
jvm()
|
2019-01-27 17:12:46 +03:00
|
|
|
js()
|
|
|
|
|
|
|
|
sourceSets {
|
|
|
|
val commonMain by getting {
|
|
|
|
dependencies {
|
|
|
|
api(project(":dataforge-meta"))
|
|
|
|
api(kotlin("reflect"))
|
|
|
|
api("io.github.microutils:kotlin-logging-common:1.6.10")
|
|
|
|
api("org.jetbrains.kotlinx:kotlinx-coroutines-core-common:$coroutinesVersion")
|
|
|
|
}
|
|
|
|
}
|
|
|
|
val jvmMain by getting {
|
|
|
|
dependencies {
|
|
|
|
api("io.github.microutils:kotlin-logging:1.6.10")
|
2019-03-26 12:21:33 +03:00
|
|
|
api("ch.qos.logback:logback-classic:1.2.3")
|
2019-01-27 17:12:46 +03:00
|
|
|
api("org.jetbrains.kotlinx:kotlinx-coroutines-core:$coroutinesVersion")
|
|
|
|
}
|
|
|
|
}
|
|
|
|
val jsMain by getting {
|
|
|
|
dependencies {
|
|
|
|
api("io.github.microutils:kotlin-logging-js:1.6.10")
|
|
|
|
api("org.jetbrains.kotlinx:kotlinx-coroutines-core-js:$coroutinesVersion")
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|