import org.jetbrains.compose.desktop.application.dsl.TargetFormat plugins { kotlin("multiplatform") // kotlin("jvm") doesn't work well in IDEA/AndroidStudio (https://github.com/JetBrains/compose-jb/issues/22) id("org.jetbrains.compose") } kotlin { jvm { withJava() } sourceSets { named("jvmMain") { dependencies { implementation(compose.desktop.currentOs) implementation(project(":common")) } } } } compose.desktop { application { mainClass = "androidx.ui.examples.jetissues.MainKt" nativeDistributions { targetFormats(TargetFormat.Dmg, TargetFormat.Msi, TargetFormat.Deb) packageName = "IssuesViewer" packageVersion = "1.0.0" windows { menu = true // see https://wixtoolset.org/documentation/manual/v3/howtos/general/generate_guids.html upgradeUuid = "6565BEAD-713A-4DE7-A469-6B10FC4A6861" } } buildTypes.release { proguard { configurationFiles.from(project.file("compose-desktop.pro")) } } } }