2019-12-22 20:56:19 +03:00
|
|
|
plugins {
|
2022-08-12 22:16:06 +03:00
|
|
|
id("space.kscience.gradle.mpp")
|
2019-12-22 20:56:19 +03:00
|
|
|
}
|
|
|
|
|
2020-10-02 19:09:25 +03:00
|
|
|
kscience {
|
2023-05-14 18:33:30 +03:00
|
|
|
jvm()
|
2021-08-08 22:17:50 +03:00
|
|
|
js {
|
2021-05-09 15:49:18 +03:00
|
|
|
useCommonJs()
|
|
|
|
browser {
|
|
|
|
commonWebpackConfig {
|
2023-05-14 18:33:30 +03:00
|
|
|
cssSupport {
|
2023-01-17 18:50:19 +03:00
|
|
|
enabled.set(false)
|
|
|
|
}
|
2021-05-09 15:49:18 +03:00
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
2023-05-14 18:33:30 +03:00
|
|
|
dependencies {
|
|
|
|
implementation(projects.visionforgeSolid)
|
|
|
|
implementation(projects.visionforgeGdml)
|
2019-12-22 20:56:19 +03:00
|
|
|
}
|
2023-05-14 18:33:30 +03:00
|
|
|
jvmMain {
|
|
|
|
// implementation(project(":visionforge-fx"))
|
|
|
|
implementation(spclibs.logback.classic)
|
|
|
|
}
|
|
|
|
jsMain {
|
|
|
|
implementation(projects.ui.ring)
|
|
|
|
implementation(projects.visionforgeThreejs)
|
|
|
|
implementation(npm("react-file-drop", "3.0.6"))
|
|
|
|
}
|
|
|
|
application()
|
2019-12-22 20:56:19 +03:00
|
|
|
}
|
|
|
|
|
2023-05-14 18:33:30 +03:00
|
|
|
//kotlin {
|
|
|
|
//
|
|
|
|
// sourceSets {
|
|
|
|
// commonMain {
|
|
|
|
// dependencies {
|
|
|
|
// implementation(project(":visionforge-solid"))
|
|
|
|
// implementation(project(":visionforge-gdml"))
|
|
|
|
// }
|
|
|
|
// }
|
|
|
|
// jvmMain {
|
|
|
|
// dependencies {
|
|
|
|
//// implementation(project(":visionforge-fx"))
|
|
|
|
// implementation("ch.qos.logback:logback-classic:1.2.11")
|
|
|
|
// }
|
|
|
|
// }
|
|
|
|
// jsMain {
|
|
|
|
// dependencies {
|
|
|
|
// implementation(project(":ui:ring"))
|
|
|
|
// implementation(project(":visionforge-threejs"))
|
|
|
|
// implementation(npm("react-file-drop", "3.0.6"))
|
|
|
|
// }
|
|
|
|
// }
|
|
|
|
// }
|
|
|
|
//}
|
2020-04-13 19:24:03 +03:00
|
|
|
|
2023-05-14 18:33:30 +03:00
|
|
|
//val convertGdmlToJson by tasks.creating(JavaExec::class) {
|
|
|
|
// group = "application"
|
|
|
|
// classpath = sourceSets["main"].runtimeClasspath
|
|
|
|
// mainClass.set("space.kscience.dataforge.vis.spatial.gdml.demo.SaveToJsonKt")
|
|
|
|
//}
|