diff --git a/shared/build.gradle.kts b/shared/build.gradle.kts index 1feaff5..2a6b42a 100644 --- a/shared/build.gradle.kts +++ b/shared/build.gradle.kts @@ -9,14 +9,16 @@ plugins { } kotlin { - androidTarget() + // Only desktop (macOS) for now jvm("desktop") - listOf(iosX64(), iosArm64(), iosSimulatorArm64()).forEach { iosTarget -> - iosTarget.binaries.framework { - baseName = "BricksShared" - isStatic = true - } - } + // TODO: add back when Android SDK / Xcode is available + // androidTarget() + // listOf(iosX64(), iosArm64(), iosSimulatorArm64()).forEach { iosTarget -> + // iosTarget.binaries.framework { + // baseName = "BricksShared" + // isStatic = true + // } + // } @OptIn(ExperimentalKotlinGradlePluginApi::class) compilerOptions { freeCompilerArgs.add("-Xexpect-actual-classes") } @@ -40,17 +42,19 @@ kotlin { implementation(compose.desktop.currentOs) implementation(libs.ktor.client.okhttp) } - iosMain.dependencies { - implementation(libs.ktor.client.darwin) - } + // TODO: add back when iOS target is enabled + // iosMain.dependencies { + // implementation(libs.ktor.client.darwin) + // } } } -android { - namespace = "com.bricks.mp" - compileSdk = 35 - defaultConfig { minSdk = 24 } -} +// TODO: uncomment when androidTarget() is enabled +// android { +// namespace = "com.bricks.mp" +// compileSdk = 35 +// defaultConfig { minSdk = 24 } +// } compose.desktop { application {