41 lines
865 B
Text
41 lines
865 B
Text
|
plugins {
|
||
|
alias(libs.plugins.kotlinMultiplatform)
|
||
|
alias(libs.plugins.androidLibrary)
|
||
|
}
|
||
|
|
||
|
kotlin {
|
||
|
androidTarget {
|
||
|
compilations.all {
|
||
|
kotlinOptions {
|
||
|
jvmTarget = "11"
|
||
|
}
|
||
|
}
|
||
|
}
|
||
|
|
||
|
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
|
||
|
}
|
||
|
}
|