2019-03-08 11:55:01 +03:00
|
|
|
plugins {
|
2022-08-12 22:16:06 +03:00
|
|
|
id("space.kscience.gradle.mpp")
|
2019-03-08 11:55:01 +03:00
|
|
|
}
|
|
|
|
|
|
|
|
val dataforgeVersion: String by rootProject.extra
|
2020-10-31 10:04:23 +03:00
|
|
|
|
2019-03-08 11:55:01 +03:00
|
|
|
kotlin {
|
|
|
|
sourceSets {
|
2020-03-23 22:19:52 +03:00
|
|
|
commonMain {
|
2019-03-08 11:55:01 +03:00
|
|
|
dependencies {
|
2021-03-07 16:19:43 +03:00
|
|
|
api("space.kscience:dataforge-context:$dataforgeVersion")
|
2021-12-29 20:00:03 +03:00
|
|
|
api(npmlibs.kotlinx.html)
|
2021-06-29 11:49:41 +03:00
|
|
|
api("org.jetbrains.kotlin-wrappers:kotlin-css")
|
2019-06-02 20:32:31 +03:00
|
|
|
}
|
|
|
|
}
|
2022-08-13 12:45:10 +03:00
|
|
|
commonTest{
|
|
|
|
dependencies{
|
|
|
|
implementation("org.jetbrains.kotlinx:kotlinx-coroutines-test:${space.kscience.gradle.KScienceVersions.coroutinesVersion}")
|
|
|
|
}
|
|
|
|
}
|
2020-03-23 22:19:52 +03:00
|
|
|
jsMain {
|
2019-06-02 20:32:31 +03:00
|
|
|
dependencies {
|
2021-06-29 11:49:41 +03:00
|
|
|
api("org.jetbrains.kotlin-wrappers:kotlin-extensions")
|
2019-03-08 11:55:01 +03:00
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
2022-01-07 12:29:43 +03:00
|
|
|
}
|
|
|
|
|
|
|
|
kscience{
|
|
|
|
useSerialization{
|
|
|
|
json()
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
readme{
|
2022-08-12 22:16:06 +03:00
|
|
|
maturity = space.kscience.gradle.Maturity.DEVELOPMENT
|
2020-03-16 22:24:57 +03:00
|
|
|
}
|