2020-10-02 19:09:25 +03:00
|
|
|
import ru.mipt.npm.gradle.KScienceVersions.coroutinesVersion
|
2019-08-04 11:32:19 +03:00
|
|
|
|
2019-03-08 11:55:01 +03:00
|
|
|
plugins {
|
2020-10-02 19:09:25 +03:00
|
|
|
id("ru.mipt.npm.mpp")
|
2019-03-08 11:55:01 +03:00
|
|
|
}
|
|
|
|
|
2020-10-02 19:09:25 +03:00
|
|
|
kscience {
|
|
|
|
useSerialization()
|
|
|
|
}
|
2019-12-24 22:09:39 +03:00
|
|
|
|
2019-03-08 11:55:01 +03:00
|
|
|
kotlin {
|
2020-04-16 12:46:54 +03:00
|
|
|
|
2019-03-08 11:55:01 +03:00
|
|
|
sourceSets {
|
2019-08-04 11:02:36 +03:00
|
|
|
commonMain {
|
2019-03-08 11:55:01 +03:00
|
|
|
dependencies {
|
2020-08-05 22:08:08 +03:00
|
|
|
api(project(":visionforge-core"))
|
2019-03-08 11:55:01 +03:00
|
|
|
}
|
|
|
|
}
|
2019-09-25 19:29:49 +03:00
|
|
|
jvmMain {
|
2019-08-04 11:02:36 +03:00
|
|
|
dependencies {
|
2020-02-26 23:03:27 +03:00
|
|
|
api("org.fxyz3d:fxyz3d:0.5.2") {
|
2019-12-22 20:56:19 +03:00
|
|
|
exclude(module = "slf4j-simple")
|
|
|
|
}
|
2020-10-02 19:09:25 +03:00
|
|
|
api("org.jetbrains.kotlinx:kotlinx-coroutines-javafx:${coroutinesVersion}")
|
2019-12-22 20:56:19 +03:00
|
|
|
implementation("eu.mihosoft.vrl.jcsg:jcsg:0.5.7") {
|
|
|
|
exclude(module = "slf4j-simple")
|
|
|
|
}
|
2019-08-04 11:02:36 +03:00
|
|
|
}
|
|
|
|
}
|
2019-09-25 19:29:49 +03:00
|
|
|
jsMain {
|
2019-08-04 11:02:36 +03:00
|
|
|
dependencies {
|
2020-03-16 22:24:57 +03:00
|
|
|
implementation(npm("three", "0.114.0"))
|
|
|
|
implementation(npm("three-csg-ts", "1.0.1"))
|
2019-08-04 11:02:36 +03:00
|
|
|
}
|
|
|
|
}
|
2019-03-08 11:55:01 +03:00
|
|
|
}
|
2020-10-02 19:09:25 +03:00
|
|
|
}
|