controls-kt/demo/constructor/build.gradle.kts

54 lines
1.3 KiB
Plaintext
Raw Permalink Normal View History

2023-11-22 21:55:13 +03:00
import org.jetbrains.compose.desktop.application.dsl.TargetFormat
2023-11-07 08:46:56 +03:00
import org.jetbrains.kotlin.gradle.dsl.ExplicitApiMode
2023-10-30 21:35:46 +03:00
plugins {
id("space.kscience.gradle.mpp")
2024-06-05 17:19:20 +03:00
alias(spclibs.plugins.compose.compiler)
alias(spclibs.plugins.compose.jb)
2023-10-30 21:35:46 +03:00
}
kscience {
2024-05-29 22:20:22 +03:00
jvm()
2023-10-30 21:35:46 +03:00
useKtor()
2024-05-24 13:56:54 +03:00
useSerialization()
2023-11-05 09:47:58 +03:00
useContextReceivers()
2024-05-24 13:56:54 +03:00
commonMain {
2024-05-29 22:20:22 +03:00
implementation(projects.controlsVisualisationCompose)
// implementation(projects.controlsVision)
2024-05-24 13:56:54 +03:00
implementation(projects.controlsConstructor)
// implementation("io.github.koalaplot:koalaplot-core:0.6.0")
2023-10-30 21:35:46 +03:00
}
jvmMain {
2024-05-24 13:56:54 +03:00
// implementation("io.ktor:ktor-server-cio")
2023-10-30 21:35:46 +03:00
implementation(spclibs.logback.classic)
}
}
2023-11-22 21:55:13 +03:00
kotlin {
sourceSets {
jvmMain {
dependencies {
implementation(compose.desktop.currentOs)
}
}
}
2023-11-07 08:46:56 +03:00
}
2023-11-22 21:55:13 +03:00
//application {
// mainClass.set("space.kscience.controls.demo.constructor.MainKt")
//}
kotlin.explicitApi = ExplicitApiMode.Disabled
compose.desktop {
application {
mainClass = "space.kscience.controls.demo.constructor.MainKt"
nativeDistributions {
targetFormats(TargetFormat.Exe)
packageName = "PidConstructor"
packageVersion = "1.0.0"
}
}
}