visionforge/visionforge-threejs/build.gradle.kts

29 lines
560 B
Plaintext
Raw Permalink Normal View History

2020-11-21 11:17:18 +03:00
plugins {
2023-06-02 14:33:41 +03:00
id("space.kscience.gradle.mpp")
2024-06-04 22:47:56 +03:00
alias(spclibs.plugins.compose.compiler)
alias(spclibs.plugins.compose.jb)
2020-11-21 11:17:18 +03:00
}
2023-12-18 09:41:05 +03:00
kotlin {
2022-11-17 21:49:14 +03:00
explicitApi = org.jetbrains.kotlin.gradle.dsl.ExplicitApiMode.Disabled
2023-06-02 14:33:41 +03:00
}
2023-12-18 09:41:05 +03:00
kscience {
js {
binaries.library()
}
2023-12-18 09:41:05 +03:00
commonMain {
api(projects.visionforgeSolid)
}
jsMain {
2024-02-12 20:04:10 +03:00
api(projects.visionforgeComposeHtml)
2023-12-18 09:41:05 +03:00
implementation(npm("three", "0.143.0"))
implementation(npm("three-csg-ts", "3.1.13"))
implementation(npm("three.meshline", "1.4.0"))
2023-06-02 14:33:41 +03:00
}
}
2023-06-02 14:33:41 +03:00