From 1ad189a39082b2c28767b919eac5cdd5fc59a318 Mon Sep 17 00:00:00 2001 From: Gabor Bata Date: Mon, 30 Oct 2023 09:26:39 +0100 Subject: [PATCH] Update gradle build script --- build.gradle | 7 +++++-- 1 file changed, 5 insertions(+), 2 deletions(-) diff --git a/build.gradle b/build.gradle index 082e1b2..c7113d3 100644 --- a/build.gradle +++ b/build.gradle @@ -9,8 +9,6 @@ plugins { } compileJava.options.encoding = 'UTF-8' -sourceCompatibility = 1.8 -targetCompatibility = 1.8 version = '1.0.5-RELEASE' @@ -25,6 +23,11 @@ dependencies { testImplementation 'junit:junit:4.13.2' } +java { + sourceCompatibility = JavaVersion.VERSION_1_8 + targetCompatibility = JavaVersion.VERSION_1_8 +} + jar { archiveBaseName = 'jpass' archiveVersion = "$project.version"