2024-06-04 22:47:56 +03:00
|
|
|
plugins {
|
|
|
|
id("space.kscience.gradle.mpp")
|
|
|
|
`maven-publish`
|
|
|
|
}
|
|
|
|
|
|
|
|
val dataforgeVersion: String by rootProject.extra
|
2024-06-05 09:49:29 +03:00
|
|
|
val plotlyVersion by extra("2.29.0")
|
2024-06-04 22:47:56 +03:00
|
|
|
|
|
|
|
|
|
|
|
kotlin{
|
|
|
|
applyDefaultHierarchyTemplate()
|
|
|
|
}
|
|
|
|
|
|
|
|
kscience {
|
|
|
|
fullStack(bundleName = "js/plotly-kt.js")
|
|
|
|
native()
|
|
|
|
wasm()
|
|
|
|
|
2024-06-05 09:49:29 +03:00
|
|
|
commonMain {
|
|
|
|
api(projects.visionforgeCore)
|
|
|
|
// api("space.kscience:dataforge-meta:$dataforgeVersion")
|
|
|
|
// api(spclibs.kotlinx.html)
|
|
|
|
|
2024-06-04 22:47:56 +03:00
|
|
|
}
|
|
|
|
|
|
|
|
jsMain{
|
|
|
|
api(npm("plotly.js", plotlyVersion))
|
|
|
|
}
|
|
|
|
|
|
|
|
nativeMain {
|
|
|
|
implementation("com.squareup.okio:okio:3.3.0")
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
readme {
|
|
|
|
maturity = space.kscience.gradle.Maturity.DEVELOPMENT
|
|
|
|
}
|