2024-03-26 04:14:16 +00:00
|
|
|
plugins {
|
|
|
|
alias(libs.plugins.kotlinMultiplatform)
|
|
|
|
alias(libs.plugins.androidLibrary)
|
|
|
|
}
|
|
|
|
|
|
|
|
kotlin {
|
|
|
|
androidTarget {
|
|
|
|
compilations.all {
|
|
|
|
kotlinOptions {
|
|
|
|
jvmTarget = "11"
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
2024-03-29 18:45:15 +00:00
|
|
|
jvm()
|
|
|
|
|
2024-03-26 04:14:16 +00:00
|
|
|
iosX64()
|
|
|
|
iosArm64()
|
|
|
|
iosSimulatorArm64()
|
|
|
|
|
|
|
|
sourceSets {
|
|
|
|
commonMain.dependencies {
|
|
|
|
implementation(libs.ktor.client.cio)
|
|
|
|
implementation(libs.ktor.client.core)
|
|
|
|
implementation(libs.ktor.client.websockets)
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
android {
|
|
|
|
namespace = "net.agorise.shared.stargate"
|
|
|
|
compileSdk = libs.versions.android.compileSdk.get().toInt()
|
|
|
|
|
|
|
|
defaultConfig {
|
|
|
|
minSdk = libs.versions.android.minSdk.get().toInt()
|
|
|
|
}
|
|
|
|
|
|
|
|
compileOptions {
|
|
|
|
sourceCompatibility = JavaVersion.VERSION_11
|
|
|
|
targetCompatibility = JavaVersion.VERSION_11
|
|
|
|
}
|
|
|
|
}
|