Minor build fix

This commit is contained in:
Alexander Nozik 2019-07-08 22:25:08 +03:00
parent f4221d66cc
commit 4fc7b91bec
3 changed files with 6 additions and 3 deletions

View File

@ -13,7 +13,6 @@ val kotlinVersion: String by rootProject.extra
dependencies {
implementation(project(":dataforge-vis-spatial-js"))
implementation("info.laht.threekt:threejs-wrapper:0.106-npm-2")
testCompile(kotlin("test-js"))
}
@ -22,6 +21,9 @@ configure<KotlinFrontendExtension> {
configure<NpmExtension> {
dependency("three","0.106.2")
dependency("@hi-level/three-csg")
dependency("style-loader")
dependency("element-resize-event")
devDependency("karma")
}

View File

@ -12,8 +12,8 @@ plugins {
val kotlinVersion: String by rootProject.extra
dependencies {
implementation(project(":dataforge-vis-spatial"))
implementation("info.laht.threekt:threejs-wrapper:0.106-npm-2")
api(project(":dataforge-vis-spatial"))
api("info.laht.threekt:threejs-wrapper:0.106-npm-2")
testCompile(kotlin("test-js"))
}

View File

@ -3,6 +3,7 @@ package hep.dataforge.vis.spatial.demo
import hep.dataforge.context.ContextBuilder
import hep.dataforge.meta.number
import hep.dataforge.vis.common.Colors
import hep.dataforge.vis.common.color
import hep.dataforge.vis.spatial.*
import kotlinx.coroutines.GlobalScope
import kotlinx.coroutines.delay