plugins { id("com.android.library") id("kotlin-multiplatform") id("org.jetbrains.compose") } kotlin { jvm("desktop") android() sourceSets { named("commonMain") { dependencies { implementation(compose.runtime) implementation(compose.foundation) implementation(compose.material) implementation("org.jetbrains.kotlinx:kotlinx-coroutines-core:1.4.3") } } named("androidMain") { dependencies { implementation("androidx.appcompat:appcompat:1.2.0") implementation(Androidx.core) } } named("desktopMain") { dependencies { implementation(compose.desktop.common) } } } tasks.withType { kotlinOptions.jvmTarget = "1.8" } }