You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
37 lines
907 B
37 lines
907 B
2 years ago
|
import org.jetbrains.compose.desktop.application.dsl.TargetFormat
|
||
|
|
||
|
plugins {
|
||
|
kotlin("multiplatform")
|
||
|
id("org.jetbrains.compose")
|
||
|
}
|
||
|
|
||
|
kotlin {
|
||
|
jvm {}
|
||
|
sourceSets {
|
||
1 year ago
|
val jvmMain by getting {
|
||
2 years ago
|
dependencies {
|
||
|
implementation(compose.desktop.currentOs)
|
||
|
implementation(project(":shared"))
|
||
|
}
|
||
|
}
|
||
|
}
|
||
|
}
|
||
|
|
||
|
compose.desktop {
|
||
|
application {
|
||
|
mainClass = "MainKt"
|
||
|
|
||
|
nativeDistributions {
|
||
|
targetFormats(TargetFormat.Dmg, TargetFormat.Msi, TargetFormat.Deb)
|
||
1 year ago
|
packageName = "Graphics2D"
|
||
2 years ago
|
packageVersion = "1.0.0"
|
||
|
|
||
|
windows {
|
||
|
menuGroup = "Compose Examples"
|
||
|
// see https://wixtoolset.org/documentation/manual/v3/howtos/general/generate_guids.html
|
||
|
upgradeUuid = "18159995-d967-4CD2-8885-77BFA97CFA9F"
|
||
|
}
|
||
|
}
|
||
|
}
|
||
|
}
|