2019-10-12 17:17:05 +03:00
|
|
|
import org.jetbrains.kotlin.gradle.targets.js.webpack.KotlinWebpack
|
|
|
|
|
2019-07-08 22:11:15 +03:00
|
|
|
plugins {
|
|
|
|
id("scientifik.mpp")
|
|
|
|
}
|
|
|
|
|
2019-09-15 11:30:25 +03:00
|
|
|
scientifik{
|
|
|
|
withSerialization()
|
|
|
|
}
|
|
|
|
|
2019-07-08 22:11:15 +03:00
|
|
|
kotlin {
|
|
|
|
sourceSets {
|
|
|
|
val commonMain by getting {
|
|
|
|
dependencies {
|
|
|
|
api(project(":dataforge-vis-spatial"))
|
2019-12-11 11:46:28 +03:00
|
|
|
api("scientifik:gdml:0.1.3")
|
2019-07-24 20:22:23 +03:00
|
|
|
}
|
|
|
|
}
|
2019-08-04 11:02:36 +03:00
|
|
|
val jsMain by getting {
|
|
|
|
dependencies {
|
2019-08-04 11:32:19 +03:00
|
|
|
api(project(":dataforge-vis-spatial"))
|
2019-10-04 19:42:19 +03:00
|
|
|
//api("kotlin.js.externals:kotlin-js-jquery:3.2.0-0")
|
2019-07-08 22:11:15 +03:00
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
2019-10-12 17:17:05 +03:00
|
|
|
}
|
|
|
|
|
|
|
|
tasks{
|
|
|
|
val jsBrowserWebpack by getting(KotlinWebpack::class) {
|
|
|
|
sourceMaps = false
|
|
|
|
}
|
2019-07-08 22:11:15 +03:00
|
|
|
}
|