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
1 changed files with 6 additions and 1 deletions

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'
}
}