Fix spring4 test
This commit is contained in:
parent
4a1a2dfed4
commit
de4ed136ea
|
@ -43,7 +43,7 @@ classes.doLast {
|
|||
|
||||
sourceJar.from cryptoProject.sourceSets.main.java
|
||||
|
||||
configure([test,spring4Test]) {
|
||||
configure([test]) {
|
||||
systemProperties['springSecurityVersion'] = version
|
||||
systemProperties['springVersion'] = springVersion
|
||||
}
|
|
@ -23,7 +23,7 @@ public class SpringSecurityCoreVersion {
|
|||
*/
|
||||
public static final long SERIAL_VERSION_UID = 320L;
|
||||
|
||||
static final String MIN_SPRING_VERSION = "3.2.8.RELEASE";
|
||||
static final String MIN_SPRING_VERSION = "4.0.2.RELEASE";
|
||||
|
||||
static {
|
||||
performVersionChecks();
|
||||
|
|
|
@ -4,7 +4,7 @@
|
|||
// isJdk6 = jdkVersion >= '1.6'
|
||||
int maxAESKeySize = javax.crypto.Cipher.getMaxAllowedKeyLength('AES')
|
||||
|
||||
configure([test,spring4Test]) {
|
||||
configure(test) {
|
||||
if (maxAESKeySize < 256) {
|
||||
println "AES keysize limited to $maxAESKeySize, skipping EncryptorsTests"
|
||||
exclude '**/EncryptorsTests.class'
|
||||
|
|
|
@ -20,6 +20,6 @@ dependencies {
|
|||
testRuntime "javax.servlet:jstl:$jstlVersion"
|
||||
}
|
||||
|
||||
configure([test,spring4Test]) {
|
||||
configure(test) {
|
||||
systemProperties['springSecurityVersion'] = version
|
||||
}
|
Loading…
Reference in New Issue