Update file build.gradle
This commit is contained in:
@@ -11,14 +11,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)
|
||||||
// sourceCompatibility = '21'
|
// sourceCompatibility = '21'
|
||||||
// targetCompatibility = '21'
|
// targetCompatibility = '21'
|
||||||
// }
|
}
|
||||||
configurations {
|
configurations {
|
||||||
compileOnly {
|
compileOnly {
|
||||||
extendsFrom annotationProcessor
|
extendsFrom annotationProcessor
|
||||||
|
|||||||
Reference in New Issue
Block a user