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