Was still the stale 1.0.0 default from when the module was scaffolded, instead of the 2.0.0 shared by Android/iOS/macOS. Co-Authored-By: Claude Sonnet 5 <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_01FXcrACM5sok3M1KQJ8kByy
38 lines
988 B
Kotlin
38 lines
988 B
Kotlin
import org.jetbrains.compose.desktop.application.dsl.TargetFormat
|
|
|
|
plugins {
|
|
alias(libs.plugins.kotlinJvm)
|
|
alias(libs.plugins.composeMultiplatform)
|
|
alias(libs.plugins.composeCompiler)
|
|
}
|
|
|
|
dependencies {
|
|
implementation(project(":shared"))
|
|
|
|
implementation(compose.desktop.currentOs)
|
|
implementation(libs.kotlinx.coroutinesSwing)
|
|
|
|
implementation(libs.compose.uiToolingPreview)
|
|
}
|
|
|
|
compose.desktop {
|
|
application {
|
|
mainClass = "xyz.tyiu.satsprice.MainKt"
|
|
|
|
nativeDistributions {
|
|
targetFormats(TargetFormat.Dmg, TargetFormat.Msi, TargetFormat.Deb)
|
|
packageName = "xyz.tyiu.satsprice"
|
|
packageVersion = "2.0.0"
|
|
|
|
macOS {
|
|
iconFile.set(project.file("icons/icon.icns"))
|
|
}
|
|
windows {
|
|
iconFile.set(project.file("icons/icon.ico"))
|
|
}
|
|
linux {
|
|
iconFile.set(project.file("icons/icon.png"))
|
|
}
|
|
}
|
|
}
|
|
} |