Use Java 8 Toolchain for modules
Issue gh-10816
This commit is contained in:
committed by
Marcus Hert Da Coregio
parent
ccb1f68bfe
commit
4631375270
@@ -138,6 +138,13 @@ allprojects {
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
tasks.withType(JavaCompile).configureEach {
|
||||
javaCompiler = javaToolchains.compilerFor {
|
||||
languageVersion = JavaLanguageVersion.of(8)
|
||||
}
|
||||
}
|
||||
|
||||
}
|
||||
|
||||
if (hasProperty('buildScan')) {
|
||||
|
||||
Reference in New Issue
Block a user