2019-03-08 11:55:01 +03:00
|
|
|
plugins {
|
2021-02-23 21:47:18 +03:00
|
|
|
id("ru.mipt.npm.gradle.mpp")
|
2019-03-08 11:55:01 +03:00
|
|
|
}
|
|
|
|
|
|
|
|
val dataforgeVersion: String by rootProject.extra
|
2020-10-31 10:04:23 +03:00
|
|
|
val kotlinWrappersVersion: String by rootProject.extra
|
|
|
|
|
2020-11-21 11:17:18 +03:00
|
|
|
kscience{
|
|
|
|
useSerialization()
|
|
|
|
}
|
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-03-07 19:22:30 +03:00
|
|
|
api("org.jetbrains.kotlinx:kotlinx-html:${ru.mipt.npm.gradle.KScienceVersions.htmlVersion}")
|
2021-06-04 20:01:50 +03:00
|
|
|
api("org.jetbrains.kotlin-wrappers:kotlin-css:1.0.0-$kotlinWrappersVersion")
|
2019-06-02 20:32:31 +03:00
|
|
|
}
|
|
|
|
}
|
2020-03-23 22:19:52 +03:00
|
|
|
jsMain {
|
2019-06-02 20:32:31 +03:00
|
|
|
dependencies {
|
2021-06-04 20:01:50 +03:00
|
|
|
api("org.jetbrains.kotlin-wrappers:kotlin-extensions:1.0.1-$kotlinWrappersVersion")
|
2019-03-08 11:55:01 +03:00
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
2020-03-16 22:24:57 +03:00
|
|
|
}
|