visionforge/plotly/plotlykt-server/build.gradle.kts

27 lines
759 B
Plaintext
Raw Permalink Normal View History

2024-06-04 22:47:56 +03:00
import space.kscience.gradle.KScienceVersions
plugins {
id("space.kscience.gradle.mpp")
kotlin("jupyter.api")
`maven-publish`
}
val dataforgeVersion: String by rootProject.extra
val ktorVersion = KScienceVersions.ktorVersion
kscience{
jvm()
useCoroutines()
commonMain{
api(projects.plotly.plotlyktCore)
api("io.ktor:ktor-server-cio:$ktorVersion")
api("io.ktor:ktor-server-html-builder:$ktorVersion")
api("io.ktor:ktor-server-websockets:$ktorVersion")
api("io.ktor:ktor-server-cors:$ktorVersion")
api("space.kscience:dataforge-context:$dataforgeVersion")
}
}
tasks.processJupyterApiResources{
libraryProducers = listOf("space.kscience.plotly.server.PlotlyServerIntegration")
}