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)
|
2024-04-12 02:49:51 +00:00
|
|
|
|
|
|
|
implementation(libs.cryptography.bigint)
|
2024-03-26 04:14:16 +00:00
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
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
|
|
|
|
}
|
|
|
|
}
|