visionforge/visionforge-threejs/build.gradle.kts

29 lines
560 B
Plaintext

plugins {
id("space.kscience.gradle.mpp")
alias(spclibs.plugins.compose.compiler)
alias(spclibs.plugins.compose.jb)
}
kotlin {
explicitApi = org.jetbrains.kotlin.gradle.dsl.ExplicitApiMode.Disabled
}
kscience {
js {
binaries.library()
}
commonMain {
api(projects.visionforgeSolid)
}
jsMain {
api(projects.visionforgeComposeHtml)
implementation(npm("three", "0.143.0"))
implementation(npm("three-csg-ts", "3.1.13"))
implementation(npm("three.meshline", "1.4.0"))
}
}