2019-03-08 11:55:01 +03:00
|
|
|
plugins {
|
2019-06-30 14:35:54 +03:00
|
|
|
id("scientifik.mpp")
|
2019-03-08 11:55:01 +03:00
|
|
|
}
|
|
|
|
|
2019-07-21 18:21:13 +03:00
|
|
|
scientifik{
|
2019-09-15 11:30:25 +03:00
|
|
|
withSerialization()
|
2019-07-21 18:21:13 +03:00
|
|
|
}
|
|
|
|
|
2019-03-08 11:55:01 +03:00
|
|
|
val dataforgeVersion: String by rootProject.extra
|
|
|
|
|
|
|
|
kotlin {
|
|
|
|
sourceSets {
|
|
|
|
val commonMain by getting {
|
|
|
|
dependencies {
|
2019-03-25 22:12:22 +03:00
|
|
|
api("hep.dataforge:dataforge-output:$dataforgeVersion")
|
2019-06-02 20:32:31 +03:00
|
|
|
}
|
|
|
|
}
|
2019-06-12 21:13:41 +03:00
|
|
|
val jsMain by getting {
|
2019-06-02 20:32:31 +03:00
|
|
|
dependencies {
|
2019-06-30 14:35:54 +03:00
|
|
|
api("hep.dataforge:dataforge-output-html:$dataforgeVersion")
|
2019-08-17 14:22:39 +03:00
|
|
|
api(npm("text-encoding"))
|
2019-10-09 09:34:20 +03:00
|
|
|
api("org.jetbrains:kotlin-extensions:1.0.1-pre.83-kotlin-1.3.50")
|
|
|
|
api(npm("core-js"))
|
2019-03-08 11:55:01 +03:00
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|