1
0
mirror of synced 2026-08-04 17:27:13 +00:00

Skip EncryptorsTests when using <JDK 1.6 as AES isn't available

This commit is contained in:
Luke Taylor
2011-01-19 23:43:13 +00:00
parent 60befb063a
commit d686f64f26
+6 -1
View File
@@ -1,5 +1,10 @@
// crypto module build file
dependencies {
jdkVersion = System.properties['java.version']
isJdk6 = jdkVersion >= '1.6'
test {
if (!isJdk6) {
exclude '**/EncryptorsTests.class'
}
}