controls-kt/demo/devices-on-map/build.gradle.kts
2024-06-05 17:19:20 +03:00

41 lines
883 B
Plaintext

import org.jetbrains.kotlin.gradle.dsl.ExplicitApiMode
plugins {
id("space.kscience.gradle.mpp")
alias(spclibs.plugins.compose.compiler)
alias(spclibs.plugins.compose.jb)
}
kscience {
jvm()
useSerialization()
useContextReceivers()
commonMain {
implementation(projects.controlsVisualisationCompose)
implementation(projects.controlsConstructor)
}
jvmMain {
// implementation("io.ktor:ktor-server-cio")
implementation(spclibs.logback.classic)
implementation(libs.sciprog.maps.compose)
}
}
kotlin {
sourceSets {
jvmMain {
dependencies {
implementation(compose.desktop.currentOs)
}
}
}
}
kotlin.explicitApi = ExplicitApiMode.Disabled
compose.desktop {
application {
mainClass = "space.kscience.controls.demo.map.MainKt"
}
}