import org.jetbrains.compose.compose plugins { id("com.android.library") kotlin("multiplatform") id("org.jetbrains.compose") } kotlin { android() jvm("desktop") js(IR) { browser() binaries.executable() } sourceSets { named("commonMain") { dependencies { api(compose.runtime) api(compose.foundation) api(compose.material) } } named("desktopMain") { dependencies { api(compose.uiTooling) } } named("androidMain") { dependencies { api("androidx.appcompat:appcompat:1.3.1") api("androidx.core:core-ktx:1.6.0") } } named("jsMain") { dependencies { api(compose.web.core) } } } } android { compileSdkVersion(30) defaultConfig { minSdkVersion(21) targetSdkVersion(30) versionCode = 1 versionName = "1.0" } compileOptions { sourceCompatibility = JavaVersion.VERSION_1_8 targetCompatibility = JavaVersion.VERSION_1_8 } sourceSets { named("main") { manifest.srcFile("src/androidMain/AndroidManifest.xml") res.srcDirs("src/androidMain/res") } } }