Update file build.gradle

This commit is contained in:
2025-11-13 01:16:27 +00:00
parent f8dfb2887b
commit 492eaa998c

View File

@@ -11,14 +11,15 @@ description = 'Scheduler Service Backend API Server'
java {
toolchain {
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 {
compileOnly {
extendsFrom annotationProcessor