plugins { id 'application' id 'org.openjfx.javafxplugin' version '0.0.8' } repositories { mavenCentral() } dependencies { // Use JUnit test framework testImplementation 'org.junit.jupiter:junit-jupiter-api:5.7.0' testRuntimeOnly 'org.junit.jupiter:junit-jupiter-engine:5.7.0' } test { useJUnitPlatform() testLogging { events 'passed', 'skipped', 'failed' } } javafx { version = "15" modules = [ 'javafx.controls', 'javafx.fxml' ] } run { if (javafx.platform.classifier == 'win') { // Temporal fix for Eclipse with JDK 1.8 and Windows systemProperty "java.library.path", "C:\tmp" } } mainClassName = 'org.openjfx.MainApp'