import org.jetbrains.compose.desktop.application.dsl.TargetFormat plugins { alias(libs.plugins.kotlin.jvm) alias(libs.plugins.compose) alias(libs.plugins.jetbrainsCompose) java } group = "com.wbrawner.pihelper" version = "1.0-SNAPSHOT" dependencies { // Note, if you develop a library, you should use compose.desktop.common. // compose.desktop.currentOs should be used in launcher-sourceSet // (in a separate module for demo project and in testMain). // With compose.desktop.common you will also lose @Preview functionality implementation(project(":shared")) implementation(compose.desktop.currentOs) implementation(libs.kotlinx.coroutines.jvm) implementation(libs.logback.classic) } compose.desktop { application { mainClass = "MainKt" nativeDistributions { includeAllModules = true targetFormats(TargetFormat.Dmg, TargetFormat.Msi, TargetFormat.Deb) packageName = "Pi-helper" packageVersion = "1.0.0" macOS { iconFile.set(project.file("src/main/resources/icon.icns")) } windows { iconFile.set(project.file("src/main/resources/icon.ico")) } linux { iconFile.set(project.file("src/main/resources/icon.png")) } } } }