From a879d7438f71911b5725af47877314beca64dee4 Mon Sep 17 00:00:00 2001 From: Julien Gouesse Date: Sat, 15 Apr 2023 11:49:37 +0200 Subject: Switches back to Java 20 in the Gradle build, requires at least Gradle 8.1, the deprecated URL constructors are still used --- build.gradle | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) diff --git a/build.gradle b/build.gradle index 6a055db..a5a7e52 100644 --- a/build.gradle +++ b/build.gradle @@ -44,12 +44,13 @@ version = '1.0-SNAPSHOT' subprojects { apply plugin: 'java' - sourceCompatibility = JavaVersion.VERSION_19 - targetCompatibility = JavaVersion.VERSION_19 + sourceCompatibility = JavaVersion.VERSION_20 + targetCompatibility = JavaVersion.VERSION_20 tasks.withType(JavaCompile) { options.encoding = 'UTF-8' - options.compilerArgs = ['-Xlint:deprecation'] + //FIXME stop using the URL deprecated constructors + //options.compilerArgs = ['-Xlint:deprecation'] } task packageSources(type: Jar) { -- cgit v1.2.3