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
|
||||
|
||||
dependencies {
|
||||
jdkVersion = System.properties['java.version']
|
||||
isJdk6 = jdkVersion >= '1.6'
|
||||
|
||||
test {
|
||||
if (!isJdk6) {
|
||||
exclude '**/EncryptorsTests.class'
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue