2022-07-16 21:34:19 +03:00
|
|
|
import org.jetbrains.compose.desktop.application.dsl.TargetFormat
|
|
|
|
|
|
|
|
plugins {
|
|
|
|
kotlin("multiplatform")
|
|
|
|
id("org.jetbrains.compose")
|
|
|
|
}
|
|
|
|
|
|
|
|
val ktorVersion: String by rootProject.extra
|
|
|
|
|
|
|
|
kotlin {
|
|
|
|
jvm {
|
|
|
|
compilations.all {
|
|
|
|
kotlinOptions.jvmTarget = "11"
|
|
|
|
}
|
|
|
|
withJava()
|
|
|
|
}
|
|
|
|
sourceSets {
|
|
|
|
val jvmMain by getting {
|
|
|
|
dependencies {
|
2022-07-23 11:24:37 +03:00
|
|
|
implementation(projects.mapsKtScheme)
|
2022-07-16 21:34:19 +03:00
|
|
|
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 = "scheme-compose-demo"
|
|
|
|
packageVersion = "1.0.0"
|
|
|
|
}
|
2022-07-16 21:34:19 +03:00
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|