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 {
|
2022-01-02 19:43:31 +03:00
|
|
|
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
|
|
|
}
|
2022-01-02 19:43:31 +03:00
|
|
|
}
|
|
|
|
|
2023-06-02 14:33:41 +03:00
|
|
|
|