2020-07-19 20:37:44 +03:00
|
|
|
plugins {
|
2020-09-08 10:13:14 +03:00
|
|
|
id("ru.mipt.npm.mpp")
|
|
|
|
id("ru.mipt.npm.publish")
|
2020-07-19 20:37:44 +03:00
|
|
|
}
|
|
|
|
|
2020-09-21 21:34:40 +03:00
|
|
|
val ktorVersion: String by rootProject.extra
|
2020-07-19 20:37:44 +03:00
|
|
|
|
|
|
|
kotlin {
|
|
|
|
sourceSets {
|
2020-07-29 22:35:21 +03:00
|
|
|
commonMain {
|
2020-07-19 20:37:44 +03:00
|
|
|
dependencies {
|
|
|
|
implementation(project(":dataforge-device-core"))
|
2020-10-11 22:37:39 +03:00
|
|
|
implementation(project(":dataforge-device-tcp"))
|
2020-07-26 22:01:33 +03:00
|
|
|
implementation("io.ktor:ktor-client-core:$ktorVersion")
|
|
|
|
}
|
|
|
|
}
|
2020-07-29 22:35:21 +03:00
|
|
|
jvmMain {
|
2020-07-26 22:01:33 +03:00
|
|
|
dependencies {
|
2020-10-08 11:20:08 +03:00
|
|
|
implementation("io.ktor:ktor-client-cio:$ktorVersion")
|
2020-07-19 20:37:44 +03:00
|
|
|
}
|
|
|
|
}
|
2020-07-29 22:35:21 +03:00
|
|
|
jsMain {
|
|
|
|
dependencies {
|
2020-09-21 21:34:40 +03:00
|
|
|
|
2020-07-29 22:35:21 +03:00
|
|
|
}
|
|
|
|
}
|
2020-07-19 20:37:44 +03:00
|
|
|
}
|
|
|
|
}
|