2020-06-05 21:07:23 +03:00
|
|
|
import scientifik.useCoroutines
|
2020-06-30 22:03:56 +03:00
|
|
|
import scientifik.useSerialization
|
2020-06-05 21:07:23 +03:00
|
|
|
|
2020-02-17 14:46:02 +03:00
|
|
|
plugins {
|
|
|
|
id("scientifik.mpp")
|
|
|
|
id("scientifik.publish")
|
|
|
|
}
|
|
|
|
|
|
|
|
val dataforgeVersion: String by rootProject.extra
|
|
|
|
|
2020-08-28 21:54:56 +03:00
|
|
|
useCoroutines()
|
2020-06-30 22:03:56 +03:00
|
|
|
useSerialization()
|
2020-02-17 14:46:02 +03:00
|
|
|
|
2020-06-05 21:07:23 +03:00
|
|
|
kotlin {
|
2020-02-17 14:46:02 +03:00
|
|
|
sourceSets {
|
|
|
|
commonMain{
|
|
|
|
dependencies {
|
2020-03-02 19:17:34 +03:00
|
|
|
api("hep.dataforge:dataforge-io:$dataforgeVersion")
|
2020-06-05 21:07:23 +03:00
|
|
|
//implementation("org.jetbrains.kotlinx:atomicfu-common:0.14.3")
|
2020-08-02 22:39:11 +03:00
|
|
|
}
|
|
|
|
}
|
|
|
|
jvmMain{
|
|
|
|
dependencies{
|
2020-08-04 16:13:53 +03:00
|
|
|
api("io.ktor:ktor-network:1.3.2")
|
2020-08-02 22:39:11 +03:00
|
|
|
}
|
|
|
|
}
|
|
|
|
jsMain{
|
|
|
|
dependencies{
|
2020-02-17 14:46:02 +03:00
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|