Explorar el Código

Use JDK 17 on Build

Closes gh-11324
Marcus Da Coregio hace 3 años
padre
commit
03527b2831
Se han modificado 1 ficheros con 6 adiciones y 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')) {