maps-kt/demo/polygon-editor/build.gradle.kts

37 lines
872 B
Plaintext
Raw Normal View History

2023-01-06 14:15:06 +03:00
import org.jetbrains.compose.desktop.application.dsl.TargetFormat
plugins {
kotlin("multiplatform")
id("org.jetbrains.compose")
}
val ktorVersion: String by rootProject.extra
kotlin {
2023-04-16 20:50:51 +03:00
jvm()
jvmToolchain(11)
2023-01-06 14:15:06 +03:00
sourceSets {
val jvmMain by getting {
dependencies {
implementation(projects.mapsKtScheme)
implementation(compose.desktop.currentOs)
implementation("ch.qos.logback:logback-classic:1.2.11")
}
}
val jvmTest by getting
}
}
2023-04-06 10:03:38 +03:00
compose{
desktop {
application {
mainClass = "MainKt"
nativeDistributions {
targetFormats(TargetFormat.Dmg, TargetFormat.Msi, TargetFormat.Deb)
packageName = "polygon-editor-demo"
packageVersion = "1.0.0"
}
2023-01-06 14:15:06 +03:00
}
}
}