Skip to content

Commit afe42cd

Browse files
committed
Upgrade to JavaMail 1.5.3 (and Hibernate 4.3.9)
1 parent d398bb7 commit afe42cd

File tree

1 file changed

+8
-7
lines changed

1 file changed

+8
-7
lines changed

build.gradle

Lines changed: 8 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -36,14 +36,15 @@ configure(allprojects) { project ->
3636
ext.groovyVersion = "2.4.3"
3737
ext.gsonVersion = "2.3.1"
3838
ext.hibernate3Version = "3.6.10.Final"
39-
ext.hibernate4Version = "4.3.8.Final"
39+
ext.hibernate4Version = "4.3.9.Final"
4040
ext.hibval4Version = "4.3.2.Final"
4141
ext.hibval5Version = "5.2.0.Beta1" // to be upgraded to 5.2 final in time for Spring Framework 4.2 GA
4242
ext.hsqldbVersion = "2.3.2"
4343
ext.httpclientVersion = "4.4"
4444
ext.httpasyncVersion = "4.0.2"
4545
ext.jackson2Version = "2.5.2"
4646
ext.jasperreportsVersion = "6.0.3"
47+
ext.javamailVersion = "1.5.3"
4748
ext.jettyVersion = "9.2.10.v20150310"
4849
ext.jodaVersion = "2.7"
4950
ext.jtaVersion = "1.2"
@@ -624,7 +625,7 @@ project("spring-context-support") {
624625
compile(project(":spring-context"))
625626
optional(project(":spring-jdbc")) // for Quartz support
626627
optional(project(":spring-tx")) // for Quartz support
627-
optional("javax.mail:javax.mail-api:1.5.2")
628+
optional("javax.mail:javax.mail-api:${javamailVersion}")
628629
optional("javax.cache:cache-api:1.0.0")
629630
optional("com.google.guava:guava:18.0")
630631
optional("net.sf.ehcache:ehcache:${ehcacheVersion}")
@@ -647,7 +648,7 @@ project("spring-context-support") {
647648
testCompile("commons-digester:commons-digester:1.8.1") // for Velocity/JasperReports
648649
testCompile("org.hsqldb:hsqldb:${hsqldbVersion}")
649650
testCompile("org.slf4j:slf4j-api:${slf4jVersion}")
650-
testRuntime("com.sun.mail:javax.mail:1.5.2")
651+
testRuntime("com.sun.mail:javax.mail:${javamailVersion}")
651652
testCompile("org.ehcache:jcache:${ehcachejcacheVersion}")
652653
// testCompile("org.ehcache:ehcache:3.0.0.m1") // alternative to ehcache-jcache above
653654
}
@@ -703,15 +704,15 @@ project("spring-web") {
703704
optional("log4j:log4j:1.2.17")
704705
optional("com.googlecode.protobuf-java-format:protobuf-java-format:1.2")
705706
optional("com.google.protobuf:protobuf-java:${protobufVersion}")
706-
optional("javax.mail:javax.mail-api:1.5.2")
707+
optional("javax.mail:javax.mail-api:${javamailVersion}")
707708
testCompile(project(":spring-context-support")) // for JafMediaTypeFactory
708709
testCompile("xmlunit:xmlunit:${xmlunitVersion}")
709710
testCompile("org.slf4j:slf4j-jcl:${slf4jVersion}")
710711
testCompile("org.apache.taglibs:taglibs-standard-jstlel:1.2.1") {
711712
exclude group: "org.apache.taglibs", module: "taglibs-standard-spec"
712713
}
713714
testCompile("com.fasterxml.jackson.datatype:jackson-datatype-joda:${jackson2Version}")
714-
testRuntime("com.sun.mail:javax.mail:1.5.2")
715+
testRuntime("com.sun.mail:javax.mail:${javamailVersion}")
715716
}
716717
}
717718

@@ -979,7 +980,7 @@ project("spring-test") {
979980
optional("xmlunit:xmlunit:${xmlunitVersion}")
980981
testCompile(project(":spring-context-support"))
981982
testCompile(project(":spring-oxm"))
982-
testCompile("javax.mail:javax.mail-api:1.5.2")
983+
testCompile("javax.mail:javax.mail-api:${javamailVersion}")
983984
testCompile("javax.ejb:ejb-api:3.0")
984985
testCompile("org.hibernate:hibernate-core:${hibernate4Version}")
985986
testCompile("org.hibernate:hibernate-entitymanager:${hibernate4Version}")
@@ -1044,7 +1045,7 @@ project("spring-aspects") {
10441045
optional("javax.cache:cache-api:1.0.0")
10451046
testCompile(project(":spring-core")) // for CodeStyleAspect
10461047
testCompile(project(":spring-test"))
1047-
testCompile("javax.mail:javax.mail-api:1.5.2")
1048+
testCompile("javax.mail:javax.mail-api:${javamailVersion}")
10481049
}
10491050

10501051
eclipse.project {

0 commit comments

Comments
 (0)