From f2a09e9a60827586a672b40492c85aead3d8cde3 Mon Sep 17 00:00:00 2001
From: arnaudlabourel <arnaud.labourel@univ-amu.fr>
Date: Wed, 9 Nov 2022 16:03:02 +0100
Subject: [PATCH] updated gradle config

---
 build.gradle | 15 +++++++++------
 1 file changed, 9 insertions(+), 6 deletions(-)

diff --git a/build.gradle b/build.gradle
index 10ee756..a990b22 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()
-- 
GitLab