diff --git a/build.gradle b/build.gradle index 73d1dd1..c885a34 100644 --- a/build.gradle +++ b/build.gradle @@ -10,15 +10,15 @@ description = 'Scheduler Service Backend API Server' java { toolchain { - languageVersion = JavaLanguageVersion.of(21) - vendor = JvmVendorSpec.ADOPTOPENJDK + // languageVersion = JavaLanguageVersion.of(21) + // vendor = JvmVendorSpec.ADOPTOPENJDK } } tasks.withType(JavaCompile) { - options.release.set(21) -// sourceCompatibility = '21' -// targetCompatibility = '21' + // options.release.set(21) + sourceCompatibility = '21' + targetCompatibility = '21' } configurations { compileOnly {