diff --git a/build.gradle b/build.gradle index 4e424f249a..aae84a11ad 100644 --- a/build.gradle +++ b/build.gradle @@ -36,7 +36,7 @@ configure(allprojects) { project -> ext.groovyVersion = "2.4.3" ext.gsonVersion = "2.3.1" ext.hibernate3Version = "3.6.10.Final" - ext.hibernate4Version = "4.3.8.Final" + ext.hibernate4Version = "4.3.9.Final" ext.hibval4Version = "4.3.2.Final" ext.hibval5Version = "5.2.0.Beta1" // to be upgraded to 5.2 final in time for Spring Framework 4.2 GA ext.hsqldbVersion = "2.3.2" @@ -44,6 +44,7 @@ configure(allprojects) { project -> ext.httpasyncVersion = "4.0.2" ext.jackson2Version = "2.5.2" ext.jasperreportsVersion = "6.0.3" + ext.javamailVersion = "1.5.3" ext.jettyVersion = "9.2.10.v20150310" ext.jodaVersion = "2.7" ext.jtaVersion = "1.2" @@ -624,7 +625,7 @@ project("spring-context-support") { compile(project(":spring-context")) optional(project(":spring-jdbc")) // for Quartz support optional(project(":spring-tx")) // for Quartz support - optional("javax.mail:javax.mail-api:1.5.2") + optional("javax.mail:javax.mail-api:${javamailVersion}") optional("javax.cache:cache-api:1.0.0") optional("com.google.guava:guava:18.0") optional("net.sf.ehcache:ehcache:${ehcacheVersion}") @@ -647,7 +648,7 @@ project("spring-context-support") { testCompile("commons-digester:commons-digester:1.8.1") // for Velocity/JasperReports testCompile("org.hsqldb:hsqldb:${hsqldbVersion}") testCompile("org.slf4j:slf4j-api:${slf4jVersion}") - testRuntime("com.sun.mail:javax.mail:1.5.2") + testRuntime("com.sun.mail:javax.mail:${javamailVersion}") testCompile("org.ehcache:jcache:${ehcachejcacheVersion}") // testCompile("org.ehcache:ehcache:3.0.0.m1") // alternative to ehcache-jcache above } @@ -703,7 +704,7 @@ project("spring-web") { optional("log4j:log4j:1.2.17") optional("com.googlecode.protobuf-java-format:protobuf-java-format:1.2") optional("com.google.protobuf:protobuf-java:${protobufVersion}") - optional("javax.mail:javax.mail-api:1.5.2") + optional("javax.mail:javax.mail-api:${javamailVersion}") testCompile(project(":spring-context-support")) // for JafMediaTypeFactory testCompile("xmlunit:xmlunit:${xmlunitVersion}") testCompile("org.slf4j:slf4j-jcl:${slf4jVersion}") @@ -711,7 +712,7 @@ project("spring-web") { exclude group: "org.apache.taglibs", module: "taglibs-standard-spec" } testCompile("com.fasterxml.jackson.datatype:jackson-datatype-joda:${jackson2Version}") - testRuntime("com.sun.mail:javax.mail:1.5.2") + testRuntime("com.sun.mail:javax.mail:${javamailVersion}") } } @@ -979,7 +980,7 @@ project("spring-test") { optional("xmlunit:xmlunit:${xmlunitVersion}") testCompile(project(":spring-context-support")) testCompile(project(":spring-oxm")) - testCompile("javax.mail:javax.mail-api:1.5.2") + testCompile("javax.mail:javax.mail-api:${javamailVersion}") testCompile("javax.ejb:ejb-api:3.0") testCompile("org.hibernate:hibernate-core:${hibernate4Version}") testCompile("org.hibernate:hibernate-entitymanager:${hibernate4Version}") @@ -1044,7 +1045,7 @@ project("spring-aspects") { optional("javax.cache:cache-api:1.0.0") testCompile(project(":spring-core")) // for CodeStyleAspect testCompile(project(":spring-test")) - testCompile("javax.mail:javax.mail-api:1.5.2") + testCompile("javax.mail:javax.mail-api:${javamailVersion}") } eclipse.project {