Minor fixes

This commit is contained in:
Alexander Nozik 2023-06-02 14:33:41 +03:00
parent a872f10523
commit 23cb8765b6
3 changed files with 27 additions and 17 deletions

View File

@ -6,5 +6,5 @@ kotlin.incremental.js.ir=true
org.gradle.parallel=true
org.gradle.jvmargs=-Xmx4G
toolsVersion=0.14.9-kotlin-1.8.20
toolsVersion=0.14.9-kotlin-1.9.0-Beta
org.jetbrains.compose.experimental.jscanvas.enabled=true

View File

@ -1,10 +1,12 @@
plugins {
kotlin("js")
id("space.kscience.gradle.js")
id("space.kscience.gradle.mpp")
}
val dataforgeVersion: String by rootProject.extra
kscience{
js()
jsMain{
dependencies {
api(project(":visionforge-solid"))
api(project(":ui:react"))
@ -13,3 +15,5 @@ dependencies {
implementation(npm("jquery","3.5.1"))
implementation(npm("popper.js","1.16.1"))
}
}
}

View File

@ -1,17 +1,23 @@
plugins {
id("space.kscience.gradle.js")
id("space.kscience.gradle.mpp")
}
kotlin{
explicitApi = org.jetbrains.kotlin.gradle.dsl.ExplicitApiMode.Disabled
}
kscience{
js{
binaries.library()
}
}
jsMain{
dependencies {
api(projects.visionforgeSolid)
implementation(npm("three", "0.143.0"))
implementation(npm("three-csg-ts", "3.1.10"))
implementation(npm("three.meshline","1.4.0"))
}
}
}