70 lines
1.7 KiB
Plaintext
70 lines
1.7 KiB
Plaintext
plugins {
|
|
id("space.kscience.gradle.mpp")
|
|
alias(spclibs.plugins.compose)
|
|
}
|
|
|
|
group = "demo"
|
|
|
|
kscience {
|
|
// jvm()
|
|
js {
|
|
browser {
|
|
binaries.executable()
|
|
commonWebpackConfig{
|
|
cssSupport{
|
|
enabled = true
|
|
}
|
|
scssSupport{
|
|
enabled = true
|
|
}
|
|
sourceMaps = true
|
|
}
|
|
}
|
|
}
|
|
dependencies {
|
|
implementation(projects.visionforgeSolid)
|
|
implementation(projects.visionforgeGdml)
|
|
}
|
|
// jvmMain {
|
|
//// implementation(project(":visionforge-fx"))
|
|
// implementation(spclibs.logback.classic)
|
|
// }
|
|
jsMain {
|
|
implementation(projects.visionforgeThreejs)
|
|
}
|
|
}
|
|
|
|
kotlin {
|
|
explicitApi = null
|
|
}
|
|
|
|
//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"))
|
|
// }
|
|
// }
|
|
// }
|
|
//}
|
|
|
|
//val convertGdmlToJson by tasks.creating(JavaExec::class) {
|
|
// group = "application"
|
|
// classpath = sourceSets["main"].runtimeClasspath
|
|
// mainClass.set("space.kscience.dataforge.vis.spatial.gdml.demo.SaveToJsonKt")
|
|
//} |