Skip to content

Commit

Permalink
[Close #32] Use javafxplugin
Browse files Browse the repository at this point in the history
  • Loading branch information
Orchaldir committed Apr 18, 2020
1 parent 7f03f21 commit 4ec0557
Showing 1 changed file with 7 additions and 0 deletions.
7 changes: 7 additions & 0 deletions build.gradle.kts
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,7 @@
plugins {
// Apply the Kotlin JVM plugin to add support for Kotlin.
id("org.jetbrains.kotlin.jvm") version "1.3.70"
id("org.openjfx.javafxplugin") version "0.0.8"

// Apply the application plugin to add support for building a CLI application.
application
Expand Down Expand Up @@ -48,3 +49,9 @@ application {
// Define the main class for the application.
mainClassName = "app.demo.ReduxDemo"
}

val javafxModules = arrayOf("controls", "fxml", "graphics")

javafx {
modules = javafxModules.map { "javafx.$it" }
}

0 comments on commit 4ec0557

Please sign in to comment.