2019-01-27 17:12:46 +03:00
|
|
|
plugins {
|
2019-06-22 14:29:37 +03:00
|
|
|
id("scientifik.mpp")
|
2019-01-27 17:12:46 +03:00
|
|
|
}
|
|
|
|
|
|
|
|
description = "Context and provider definitions"
|
|
|
|
|
2019-06-28 10:19:58 +03:00
|
|
|
val coroutinesVersion: String = Scientifik.coroutinesVersion
|
2019-01-27 17:12:46 +03:00
|
|
|
|
|
|
|
kotlin {
|
|
|
|
sourceSets {
|
|
|
|
val commonMain by getting {
|
|
|
|
dependencies {
|
|
|
|
api(project(":dataforge-meta"))
|
|
|
|
api(kotlin("reflect"))
|
2019-08-07 11:38:25 +03:00
|
|
|
api("io.github.microutils:kotlin-logging-common:1.7.2")
|
2019-01-27 17:12:46 +03:00
|
|
|
api("org.jetbrains.kotlinx:kotlinx-coroutines-core-common:$coroutinesVersion")
|
|
|
|
}
|
|
|
|
}
|
|
|
|
val jvmMain by getting {
|
|
|
|
dependencies {
|
2019-08-07 11:38:25 +03:00
|
|
|
api("io.github.microutils:kotlin-logging:1.7.2")
|
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 {
|
2019-08-07 11:38:25 +03:00
|
|
|
api("io.github.microutils:kotlin-logging-js:1.7.2")
|
2019-01-27 17:12:46 +03:00
|
|
|
api("org.jetbrains.kotlinx:kotlinx-coroutines-core-js:$coroutinesVersion")
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|