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
1 changed files with 7 additions and 0 deletions

View File

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