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.parallel=true
org.gradle.jvmargs=-Xmx4G 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 org.jetbrains.compose.experimental.jscanvas.enabled=true

View File

@ -1,15 +1,19 @@
plugins { plugins {
kotlin("js") id("space.kscience.gradle.mpp")
id("space.kscience.gradle.js")
} }
val dataforgeVersion: String by rootProject.extra val dataforgeVersion: String by rootProject.extra
dependencies { kscience{
api(project(":visionforge-solid")) js()
api(project(":ui:react")) jsMain{
implementation(npm("file-saver", "2.0.2")) dependencies {
implementation(npm("bootstrap","4.6.0")) api(project(":visionforge-solid"))
implementation(npm("jquery","3.5.1")) api(project(":ui:react"))
implementation(npm("popper.js","1.16.1")) implementation(npm("file-saver", "2.0.2"))
implementation(npm("bootstrap","4.6.0"))
implementation(npm("jquery","3.5.1"))
implementation(npm("popper.js","1.16.1"))
}
}
} }

View File

@ -1,17 +1,23 @@
plugins { plugins {
id("space.kscience.gradle.js") id("space.kscience.gradle.mpp")
} }
kotlin{ kotlin{
explicitApi = org.jetbrains.kotlin.gradle.dsl.ExplicitApiMode.Disabled explicitApi = org.jetbrains.kotlin.gradle.dsl.ExplicitApiMode.Disabled
}
kscience{
js{ js{
binaries.library() 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"))
}
}
} }
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"))
}