13 lines
353 B
Groovy
13 lines
353 B
Groovy
// crypto module build file
|
|
|
|
// jdkVersion = System.properties['java.version']
|
|
// isJdk6 = jdkVersion >= '1.6'
|
|
int maxAESKeySize = javax.crypto.Cipher.getMaxAllowedKeyLength('AES')
|
|
|
|
test {
|
|
if (maxAESKeySize < 256) {
|
|
println "AES keysize limited to $maxAESKeySize, skipping EncryptorsTests"
|
|
exclude '**/EncryptorsTests.class'
|
|
}
|
|
}
|