diff --git a/build.gradle b/build.gradle index 10ee756a7c605e5a18cf5342e0a07c5c64e02b83..a990b225758e181ad84522eb10d6b12cc0a2fb49 100644 --- a/build.gradle +++ b/build.gradle @@ -1,11 +1,11 @@ plugins { id 'application' - id "org.openjfx.javafxplugin" version "0.0.10" + id "org.openjfx.javafxplugin" version "0.0.13" } javafx { - version = "17" + version = "19" modules = [ 'javafx.controls', 'javafx.fxml' ] } @@ -13,13 +13,16 @@ javafx { repositories { mavenCentral() } + dependencies { - testImplementation group: 'junit', name: 'junit', version: '4.12' - testImplementation 'org.hamcrest:hamcrest-library:1.3' + testImplementation('org.junit.jupiter:junit-jupiter-api:5.9.0', + 'org.assertj:assertj-core:3.23.1') + testRuntimeOnly 'org.junit.jupiter:junit-jupiter-engine:5.9.0' } -mainClassName = "App" - +application { + mainClassName = "App" +} test { useJUnitPlatform()