Use Java 11 Toolchain for OpenSaml4 compile
Issue gh-10816
This commit is contained in:
parent
4631375270
commit
e20323e0a8
|
@ -36,10 +36,19 @@ configurations {
|
||||||
}
|
}
|
||||||
|
|
||||||
compileOpensaml4MainJava {
|
compileOpensaml4MainJava {
|
||||||
|
javaCompiler = javaToolchains.compilerFor {
|
||||||
|
languageVersion = JavaLanguageVersion.of(11)
|
||||||
|
}
|
||||||
sourceCompatibility = '11'
|
sourceCompatibility = '11'
|
||||||
targetCompatibility = '11'
|
targetCompatibility = '11'
|
||||||
}
|
}
|
||||||
|
|
||||||
|
compileOpensaml4TestJava {
|
||||||
|
javaCompiler = javaToolchains.compilerFor {
|
||||||
|
languageVersion = JavaLanguageVersion.of(11)
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
dependencies {
|
dependencies {
|
||||||
management platform(project(":spring-security-dependencies"))
|
management platform(project(":spring-security-dependencies"))
|
||||||
api project(':spring-security-web')
|
api project(':spring-security-web')
|
||||||
|
|
Loading…
Reference in New Issue