diff --git a/core/core.gradle b/core/core.gradle index e565dc1087..4e7a4f9948 100644 --- a/core/core.gradle +++ b/core/core.gradle @@ -43,7 +43,7 @@ classes.doLast { sourceJar.from cryptoProject.sourceSets.main.java -configure([test,spring4Test]) { +configure([test]) { systemProperties['springSecurityVersion'] = version systemProperties['springVersion'] = springVersion } \ No newline at end of file diff --git a/core/src/main/java/org/springframework/security/core/SpringSecurityCoreVersion.java b/core/src/main/java/org/springframework/security/core/SpringSecurityCoreVersion.java index b1d78ec659..9ec1ab871c 100644 --- a/core/src/main/java/org/springframework/security/core/SpringSecurityCoreVersion.java +++ b/core/src/main/java/org/springframework/security/core/SpringSecurityCoreVersion.java @@ -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(); diff --git a/crypto/crypto.gradle b/crypto/crypto.gradle index 95299e61d7..1c15126a10 100644 --- a/crypto/crypto.gradle +++ b/crypto/crypto.gradle @@ -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' diff --git a/taglibs/taglibs.gradle b/taglibs/taglibs.gradle index 1cbcf3266f..20d9f19d52 100644 --- a/taglibs/taglibs.gradle +++ b/taglibs/taglibs.gradle @@ -20,6 +20,6 @@ dependencies { testRuntime "javax.servlet:jstl:$jstlVersion" } -configure([test,spring4Test]) { +configure(test) { systemProperties['springSecurityVersion'] = version } \ No newline at end of file