mirror of
https://github.com/spring-projects/spring-security.git
synced 2025-03-29 19:38:32 +00:00
Use Java 8 Toolchain for modules
Issue gh-10816
This commit is contained in:
parent
ccb1f68bfe
commit
4631375270
@ -138,6 +138,13 @@ allprojects {
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
tasks.withType(JavaCompile).configureEach {
|
||||
javaCompiler = javaToolchains.compilerFor {
|
||||
languageVersion = JavaLanguageVersion.of(8)
|
||||
}
|
||||
}
|
||||
|
||||
}
|
||||
|
||||
if (hasProperty('buildScan')) {
|
||||
|
Loading…
x
Reference in New Issue
Block a user