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.
33 lines
702 B
33 lines
702 B
4 years ago
|
import org.jetbrains.compose.desktop.application.dsl.TargetFormat
|
||
4 years ago
|
|
||
|
plugins {
|
||
3 years ago
|
kotlin("multiplatform")
|
||
4 years ago
|
id("org.jetbrains.compose")
|
||
|
}
|
||
|
|
||
4 years ago
|
kotlin {
|
||
|
jvm {
|
||
|
withJava()
|
||
|
}
|
||
|
sourceSets {
|
||
|
named("jvmMain") {
|
||
|
dependencies {
|
||
4 years ago
|
implementation(compose.desktop.currentOs)
|
||
4 years ago
|
implementation(project(":common"))
|
||
|
}
|
||
|
}
|
||
|
}
|
||
4 years ago
|
}
|
||
|
|
||
4 years ago
|
compose.desktop {
|
||
|
application {
|
||
|
mainClass = "MainKt"
|
||
|
|
||
|
nativeDistributions {
|
||
|
targetFormats(TargetFormat.Dmg, TargetFormat.Msi, TargetFormat.Deb)
|
||
|
packageName = "KotlinMultiplatformComposeDesktopApplication"
|
||
4 years ago
|
packageVersion = "1.0.0"
|
||
4 years ago
|
}
|
||
|
}
|
||
3 years ago
|
}
|