Update file build.gradle
This commit is contained in:
@@ -10,13 +10,14 @@ 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'
|
||||
}
|
||||
configurations {
|
||||
compileOnly {
|
||||
|
||||
Reference in New Issue
Block a user