30 lines
717 B
Kotlin
30 lines
717 B
Kotlin
import org.jetbrains.kotlin.gradle.dsl.JvmTarget
|
|
|
|
plugins {
|
|
kotlin("multiplatform")
|
|
kotlin("plugin.serialization")
|
|
}
|
|
|
|
kotlin {
|
|
explicitApi()
|
|
|
|
linuxX64()
|
|
linuxArm64()
|
|
macosArm64()
|
|
mingwX64()
|
|
jvm { compilerOptions.jvmTarget = JvmTarget.JVM_11 }
|
|
|
|
sourceSets {
|
|
val ktorVersion = "3.5.2"
|
|
commonMain.dependencies {
|
|
api(project(":bl-core"))
|
|
implementation("io.ktor:ktor-client-core:$ktorVersion")
|
|
implementation("io.ktor:ktor-client-cio:$ktorVersion")
|
|
implementation("io.ktor:ktor-client-websockets:$ktorVersion")
|
|
}
|
|
|
|
commonTest.dependencies {
|
|
implementation(project(":bl-core"))
|
|
}
|
|
}
|
|
} |