1
0
mirror of synced 2026-08-03 00:37:03 +00:00
Files
spring-security/crypto/crypto.gradle
T
2013-08-27 16:43:10 -05:00

13 lines
378 B
Groovy

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