diff options
author | Julien Gouesse <[email protected]> | 2023-04-15 11:49:37 +0200 |
---|---|---|
committer | Julien Gouesse <[email protected]> | 2023-04-15 11:49:37 +0200 |
commit | a879d7438f71911b5725af47877314beca64dee4 (patch) | |
tree | 99e600acddfa64b5f8f4fcb74c8eb03fbee5ff11 | |
parent | 7d9f04662f357a47a4c58558361ce7c2b202bfc3 (diff) |
Switches back to Java 20 in the Gradle build, requires at least Gradle 8.1, the deprecated URL constructors are still used
-rw-r--r-- | build.gradle | 7 |
1 files 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) { |