plugins { kotlin("jvm") id("org.openjfx.javafxplugin") application } javafx { modules = listOf("javafx.controls", "javafx.web") version = "11" } repositories { mavenCentral() } application { mainClass.set("inr.numass.viewer.Viewer") } version = "0.6.0" description = "The viewer for numass data" dependencies { api(project(":numass-core")) api(project(":dataforge-plots:plots-jfc")) api(project(":dataforge-gui")) } application { applicationDefaultJvmArgs = listOf( "--add-exports=javafx.graphics/com.sun.glass.ui=ALL-UNNAMED", "--add-opens=javafx.graphics/com.sun.javafx.css=ALL-UNNAMED", "--add-opens=javafx.graphics/com.sun.javafx.scene=ALL-UNNAMED", "--add-opens=javafx.graphics/com.sun.javafx.scene.traversal=ALL-UNNAMED", "--add-opens=javafx.graphics/javafx.scene=ALL-UNNAMED", "--add-opens=javafx.controls/com.sun.javafx.scene.control=ALL-UNNAMED", "--add-opens=javafx.controls/com.sun.javafx.scene.control.behavior=ALL-UNNAMED", "--add-opens=javafx.controls/javafx.scene.control.skin=ALL-UNNAMED", "--add-exports=javafx.controls/com.sun.javafx.scene.control.inputmap=ALL-UNNAMED", ) }