From 99d16627ea1b7c2cf41012123aa02fbd73931cd9 Mon Sep 17 00:00:00 2001 From: ChaoticByte Date: Sat, 14 Sep 2024 23:13:58 +0200 Subject: [PATCH] Set Java version in build.gradle back to 17 --- build.gradle | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/build.gradle b/build.gradle index 4c83ad7..ef65712 100644 --- a/build.gradle +++ b/build.gradle @@ -38,7 +38,7 @@ processResources { } tasks.withType(JavaCompile).configureEach { - it.options.release = 21 + it.options.release = 17 } java { @@ -47,8 +47,8 @@ java { // If you remove this line, sources will not be generated. withSourcesJar() - sourceCompatibility = JavaVersion.VERSION_21 - targetCompatibility = JavaVersion.VERSION_21 + sourceCompatibility = JavaVersion.VERSION_17 + targetCompatibility = JavaVersion.VERSION_17 } jar {