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

40 lines
1019 B
Plaintext
Raw Permalink Normal View History

2022-07-16 21:34:19 +03:00
import org.jetbrains.compose.desktop.application.dsl.TargetFormat
plugins {
kotlin("multiplatform")
2024-06-04 14:38:21 +03:00
alias(spclibs.plugins.compose.compiler)
alias(spclibs.plugins.compose.jb)
2022-07-16 21:34:19 +03:00
}
val ktorVersion: String by rootProject.extra
kotlin {
2023-03-15 15:24:23 +03:00
jvmToolchain(11)
2023-04-16 20:50:51 +03:00
jvm()
2022-07-16 21:34:19 +03:00
sourceSets {
val jvmMain by getting {
dependencies {
implementation(projects.mapsKtCompose)
2022-12-27 11:51:14 +03:00
implementation(projects.mapsKtGeojson)
2022-07-16 21:34:19 +03:00
implementation(compose.desktop.currentOs)
2022-10-12 15:03:02 +03:00
implementation("io.ktor:ktor-client-cio")
2023-09-10 13:12:45 +03:00
implementation(spclibs.logback.classic)
2022-07-16 21:34:19 +03:00
}
}
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 = "maps-compose-demo"
packageVersion = "1.0.0"
}
2022-07-16 21:34:19 +03:00
}
}
}