visionforge/visionforge-threejs/build.gradle.kts

28 lines
513 B
Plaintext

plugins {
id("space.kscience.gradle.mpp")
alias(spclibs.plugins.compose)
}
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"))
}
}