aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorJulien Gouesse <[email protected]>2023-04-09 13:56:24 +0200
committerJulien Gouesse <[email protected]>2023-04-09 13:56:24 +0200
commit6cec8ecafb779a57f75e77199853b5786e372ef2 (patch)
tree591fc5fc07091cb81644a2a0b9b838cfa521e308
parent33001cc6710dd1db22ef63ded3534a5baebf9217 (diff)
Uses Java 19 in the gradle build, cannot use Java 20 yet as Gradle doesn't support it yet
-rw-r--r--build.gradle4
1 files changed, 2 insertions, 2 deletions
diff --git a/build.gradle b/build.gradle
index 517a67a..74b5551 100644
--- a/build.gradle
+++ b/build.gradle
@@ -7,8 +7,8 @@ version = '1.0-SNAPSHOT'
subprojects {
apply plugin: 'java'
- sourceCompatibility = 17
- targetCompatibility = 17
+ sourceCompatibility = JavaVersion.VERSION_19
+ targetCompatibility = JavaVersion.VERSION_19
tasks.withType(JavaCompile) {
options.encoding = 'UTF-8'