From 3dc150fd62403e7eabe5b3628db61f5da5f7c05e Mon Sep 17 00:00:00 2001
From: arnaudlabourel <arnaud.labourel@univ-amu.fr>
Date: Fri, 17 Sep 2021 11:09:36 +0200
Subject: [PATCH] =?UTF-8?q?Mise=20=C3=A0=20jour=20configuration=20gradle?=
MIME-Version: 1.0
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: 8bit

---
 build.gradle | 22 +++++++++-------------
 1 file changed, 9 insertions(+), 13 deletions(-)

diff --git a/build.gradle b/build.gradle
index 22a50e4..4d452af 100644
--- a/build.gradle
+++ b/build.gradle
@@ -1,31 +1,27 @@
 plugins {
     id 'application'
-    id "org.openjfx.javafxplugin" version "0.0.8"
+    id "org.openjfx.javafxplugin" version "0.0.10"
 }
 
 javafx {
-    version = "13"
+    version = "17"
     modules = [ 'javafx.controls', 'javafx.fxml' ]
 }
 
-sourceCompatibility = "13"
-targetCompatibility = "13"
-
 repositories {
     mavenCentral()
 }
 
 dependencies {
-    testImplementation 'org.junit.jupiter:junit-jupiter-api:5.6.2'
-    testRuntimeOnly 'org.junit.jupiter:junit-jupiter-engine:5.4.2'
-}
-
-repositories {
-    mavenCentral()
+    testImplementation('org.junit.jupiter:junit-jupiter-api:5.7.2',
+            'org.hamcrest:hamcrest-library:2.2', 'net.obvj:junit-utils:1.3.1')
+    testRuntimeOnly 'org.junit.jupiter:junit-jupiter-engine:5.7.2'
 }
 
-mainClassName = "Main"
-
 test {
     useJUnitPlatform()
 }
+
+application {
+    mainClassName = "Main"
+}
-- 
GitLab