Update file build.gradle

This commit is contained in:
2025-11-13 01:08:45 +00:00
parent 0ef1e52ee9
commit f3b93bbced

View File

@@ -10,13 +10,14 @@ description = 'Scheduler Service Backend API Server'
java { java {
toolchain { toolchain {
languageVersion = JavaLanguageVersion.of(21) // languageVersion = JavaLanguageVersion.of(21)
vendor = JvmVendorSpec.ADOPTOPENJDK // vendor = JvmVendorSpec.ADOPTOPENJDK
} }
} }
tasks.withType(JavaCompile) { tasks.withType(JavaCompile) {
options.release.set(21) sourceCompatibility = '21'
targetCompatibility = '21'
} }
configurations { configurations {
compileOnly { compileOnly {