Update file build.gradle

This commit is contained in:
2025-11-13 01:17:42 +00:00
parent 492eaa998c
commit 2dabad90f0

View File

@@ -10,15 +10,15 @@ 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) // options.release.set(21)
// sourceCompatibility = '21' sourceCompatibility = '21'
// targetCompatibility = '21' targetCompatibility = '21'
} }
configurations { configurations {
compileOnly { compileOnly {