mirror of
https://github.com/spring-projects/spring-security.git
synced 2025-07-01 16:22:15 +00:00
Skip EncryptorsTests when using <JDK 1.6 as AES isn't available
This commit is contained in:
parent
60befb063a
commit
d686f64f26
@ -1,5 +1,10 @@
|
|||||||
// crypto module build file
|
// crypto module build file
|
||||||
|
|
||||||
dependencies {
|
jdkVersion = System.properties['java.version']
|
||||||
|
isJdk6 = jdkVersion >= '1.6'
|
||||||
|
|
||||||
|
test {
|
||||||
|
if (!isJdk6) {
|
||||||
|
exclude '**/EncryptorsTests.class'
|
||||||
|
}
|
||||||
}
|
}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user