Explorar o código

Use JDK 17 on Build

Closes gh-11324
Marcus Da Coregio %!s(int64=3) %!d(string=hai) anos
pai
achega
03527b2831
Modificáronse 1 ficheiros con 6 adicións e 0 borrados
  1. 6 0
      build.gradle

+ 6 - 0
build.gradle

@@ -164,6 +164,12 @@ allprojects {
 			}
 		}
 	}
+
+	tasks.withType(JavaCompile).configureEach {
+		javaCompiler = javaToolchains.compilerFor {
+			languageVersion = JavaLanguageVersion.of(17)
+		}
+	}
 }
 
 if (hasProperty('buildScan')) {