controls-kt/controls-visualisation-compose/build.gradle.kts

46 lines
1014 B
Plaintext
Raw Permalink Normal View History

2024-05-29 22:20:22 +03:00
import org.jetbrains.compose.ExperimentalComposeLibrary
plugins {
id("space.kscience.gradle.mpp")
2024-06-05 17:19:20 +03:00
alias(spclibs.plugins.compose.compiler)
alias(spclibs.plugins.compose.jb)
2024-05-29 22:20:22 +03:00
`maven-publish`
}
description = """
Visualisation extension using compose-multiplatform
""".trimIndent()
kscience {
jvm()
useKtor()
useSerialization()
useContextReceivers()
commonMain {
api(projects.controlsConstructor)
api("io.github.koalaplot:koalaplot-core:0.6.0")
}
}
kotlin {
sourceSets {
commonMain {
dependencies {
api(compose.foundation)
api(compose.material3)
@OptIn(ExperimentalComposeLibrary::class)
api(compose.desktop.components.splitPane)
}
}
// jvmMain {
// dependencies {
// implementation(compose.desktop.currentOs)
// }
// }
}
}
readme {
maturity = space.kscience.gradle.Maturity.PROTOTYPE
}