visionforge/visionforge-threejs/build.gradle.kts

28 lines
513 B
Plaintext
Raw 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")
2023-12-18 09:41:05 +03:00
alias(spclibs.plugins.compose)
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)
2023-12-27 12:01:55 +03:00
api(projects.visionforgeComposeHtml)
2023-12-18 09:41:05 +03:00
}
jsMain {
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