2024-06-05 17:19:20 +03:00
|
|
|
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)
|
2024-06-09 15:09:43 +03:00
|
|
|
implementation(projects.magix.magixServer)
|
2024-06-06 16:54:17 +03:00
|
|
|
implementation(projects.magix.magixRsocket)
|
2024-06-09 15:09:43 +03:00
|
|
|
implementation(projects.controlsMagix)
|
2024-06-05 17:19:20 +03:00
|
|
|
}
|
|
|
|
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 {
|
2024-06-07 20:20:39 +03:00
|
|
|
mainClass = "space.kscience.controls.demo.collective.MainKt"
|
2024-06-05 17:19:20 +03:00
|
|
|
}
|
|
|
|
}
|