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.
42 lines
1.1 KiB
42 lines
1.1 KiB
2 years ago
|
import org.jetbrains.compose.desktop.application.dsl.TargetFormat
|
||
|
|
||
|
plugins {
|
||
2 years ago
|
kotlin("multiplatform")
|
||
2 years ago
|
id("org.jetbrains.compose")
|
||
|
}
|
||
|
|
||
|
kotlin {
|
||
|
jvm {}
|
||
|
sourceSets {
|
||
2 years ago
|
val jvmMain by getting {
|
||
2 years ago
|
dependencies {
|
||
|
implementation(compose.desktop.currentOs)
|
||
2 years ago
|
implementation(project(":shared"))
|
||
2 years ago
|
}
|
||
|
}
|
||
|
}
|
||
|
}
|
||
|
|
||
|
compose.desktop {
|
||
|
application {
|
||
|
mainClass = "org.jetbrains.codeviewer.MainKt"
|
||
|
|
||
|
nativeDistributions {
|
||
|
targetFormats(TargetFormat.Dmg, TargetFormat.Msi, TargetFormat.Deb)
|
||
|
packageName = "ComposeCodeViewer"
|
||
|
packageVersion = "1.0.0"
|
||
|
|
||
|
windows {
|
||
|
menu = true
|
||
|
// see https://wixtoolset.org/documentation/manual/v3/howtos/general/generate_guids.html
|
||
|
upgradeUuid = "AF792DA6-2EA3-495A-95E5-C3C6CBCB9948"
|
||
|
}
|
||
|
|
||
|
macOS {
|
||
|
// Use -Pcompose.desktop.mac.sign=true to sign and notarize.
|
||
|
bundleID = "com.jetbrains.compose.codeviewer"
|
||
|
}
|
||
|
}
|
||
|
}
|
||
|
}
|