1
0
mirror of synced 2026-05-22 21:33:16 +00:00

Use Java 8 Toolchain for modules

Issue gh-10816
This commit is contained in:
Marcus Da Coregio
2022-02-02 15:24:09 -03:00
committed by Marcus Hert Da Coregio
parent ccb1f68bfe
commit 4631375270
+7
View File
@@ -138,6 +138,13 @@ allprojects {
}
}
}
tasks.withType(JavaCompile).configureEach {
javaCompiler = javaToolchains.compilerFor {
languageVersion = JavaLanguageVersion.of(8)
}
}
}
if (hasProperty('buildScan')) {