2020-11-21 11:17:18 +03:00
|
|
|
plugins {
|
2023-06-02 14:33:41 +03:00
|
|
|
id("space.kscience.gradle.mpp")
|
2020-11-21 11:17:18 +03:00
|
|
|
}
|
|
|
|
|
2022-01-02 19:43:31 +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
|
|
|
}
|
|
|
|
|
|
|
|
kscience{
|
2022-01-02 19:43:31 +03:00
|
|
|
js{
|
|
|
|
binaries.library()
|
|
|
|
}
|
2023-06-02 14:33:41 +03:00
|
|
|
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"))
|
|
|
|
}
|
|
|
|
}
|
2022-01-02 19:43:31 +03:00
|
|
|
}
|
|
|
|
|
2023-06-02 14:33:41 +03:00
|
|
|
|