From 08a69b9fe834891f46e83cb69d1cd769635eca23 Mon Sep 17 00:00:00 2001 From: Indrit Beqiri Date: Thu, 29 Aug 2024 17:14:49 +0200 Subject: [PATCH] Small changes on 'build.gradle' file --- build.gradle | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/build.gradle b/build.gradle index 0f7eefa..5c30f3e 100644 --- a/build.gradle +++ b/build.gradle @@ -6,9 +6,9 @@ plugins { version = "$projectVersion" group = 'one.jpro' -compileJava { - sourceCompatibility = 17 - targetCompatibility = 17 +java { + sourceCompatibility = JavaVersion.VERSION_17 + targetCompatibility = JavaVersion.VERSION_17 } repositories { @@ -22,7 +22,7 @@ javafx { application { // Define the main class for the application. - mainClassName = 'one.jpro.hellojpro.HelloJProFXML' + mainClass = 'one.jpro.hellojpro.HelloJProFXML' } jpro {