Use Java 11 Toolchain for OpenSaml4 compile

Issue gh-10816
This commit is contained in:
Marcus Da Coregio 2022-02-02 15:25:40 -03:00 committed by Marcus Hert Da Coregio
parent 4631375270
commit e20323e0a8
1 changed files with 9 additions and 0 deletions

View File

@ -36,10 +36,19 @@ configurations {
}
compileOpensaml4MainJava {
javaCompiler = javaToolchains.compilerFor {
languageVersion = JavaLanguageVersion.of(11)
}
sourceCompatibility = '11'
targetCompatibility = '11'
}
compileOpensaml4TestJava {
javaCompiler = javaToolchains.compilerFor {
languageVersion = JavaLanguageVersion.of(11)
}
}
dependencies {
management platform(project(":spring-security-dependencies"))
api project(':spring-security-web')