controls-kt/dataforge-device-client/build.gradle.kts

29 lines
760 B
Plaintext
Raw Normal View History

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-08-31 12:40:49 +03:00
val ktorVersion: String by extra("1.4.0")
2020-07-19 20:37:44 +03:00
kotlin {
sourceSets {
commonMain {
2020-07-19 20:37:44 +03:00
dependencies {
implementation(project(":dataforge-device-core"))
2020-07-26 22:01:33 +03:00
implementation("io.ktor:ktor-client-core:$ktorVersion")
}
}
jvmMain {
2020-07-26 22:01:33 +03:00
dependencies {
2020-07-19 20:37:44 +03:00
implementation("io.ktor:ktor-client-cio:$ktorVersion")
}
}
jsMain {
dependencies {
implementation("io.ktor:ktor-client-js:$ktorVersion")
implementation(npm("text-encoding", "0.7.0"))
implementation(npm("abort-controller", "3.0.0"))
}
}
2020-07-19 20:37:44 +03:00
}
}