You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
|
|
|
@file:Suppress("OPT_IN_IS_NOT_ENABLED")
|
|
|
|
|
|
|
|
plugins {
|
|
|
|
kotlin("multiplatform")
|
|
|
|
kotlin("plugin.compose")
|
|
|
|
id("org.jetbrains.compose")
|
|
|
|
}
|
|
|
|
|
|
|
|
version = "1.0-SNAPSHOT"
|
|
|
|
|
|
|
|
kotlin {
|
|
|
|
listOf(
|
|
|
|
iosX64(),
|
|
|
|
iosArm64(),
|
|
|
|
iosSimulatorArm64()
|
|
|
|
).forEach { iosTarget ->
|
|
|
|
iosTarget.binaries {
|
|
|
|
framework {
|
|
|
|
baseName = "shared"
|
|
|
|
isStatic = true
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
sourceSets {
|
|
|
|
val commonMain by getting {
|
|
|
|
dependencies {
|
|
|
|
implementation(compose.ui)
|
|
|
|
implementation(compose.foundation)
|
|
|
|
implementation(compose.material)
|
|
|
|
}
|
|
|
|
}
|
|
|
|
val iosMain by creating {
|
|
|
|
dependsOn(commonMain)
|
|
|
|
}
|
|
|
|
val iosX64Main by getting {
|
|
|
|
dependsOn(iosMain)
|
|
|
|
}
|
|
|
|
val iosArm64Main by getting {
|
|
|
|
dependsOn(iosMain)
|
|
|
|
}
|
|
|
|
val iosSimulatorArm64Main by getting {
|
|
|
|
dependsOn(iosMain)
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|