import org.jetbrains.compose.compose import org.jetbrains.compose.desktop.application.dsl.TargetFormat import org.jetbrains.kotlin.gradle.tasks.KotlinCompile plugins { kotlin("multiplatform") id("org.jetbrains.compose") } group = "center.sciptog" version = "1.0-SNAPSHOT" repositories { google() mavenCentral() maven("https://maven.pkg.jetbrains.space/public/p/compose/dev") } val ktorVersion by extra("2.0.3") kotlin { jvm { compilations.all { kotlinOptions.jvmTarget = "11" } withJava() } sourceSets { commonMain{ dependencies{ api(compose.runtime) api(compose.foundation) api(compose.material) implementation("io.ktor:ktor-client-core:$ktorVersion") implementation("io.ktor:ktor-client-cio:$ktorVersion") implementation("io.github.microutils:kotlin-logging:2.1.23") implementation("ch.qos.logback:logback-classic:1.2.11") } } val jvmMain by getting { dependencies { implementation(compose.desktop.currentOs) } } val jvmTest by getting } } compose.desktop { application { mainClass = "MainKt" nativeDistributions { targetFormats(TargetFormat.Dmg, TargetFormat.Msi, TargetFormat.Deb) packageName = "maps-kt-compose" packageVersion = "1.0.0" } } }