From 93ff4720d1ad92eec58e42d601532b06c632a0ae Mon Sep 17 00:00:00 2001 From: Andy Wilkinson Date: Wed, 2 Apr 2014 14:16:33 +0100 Subject: [PATCH] Update coordinates of JavaMail dependency JavaMail is moving towards using javax.mail:javax.mail-api as the coordinates for the JavaMail API (1.5 no longer publishes the javax.mail:mail artifact). This commit updates spring-cloud to use the new coordinates but leaves the version unchanged. The dependency has also been moved into the testRuntime configuration as it is not needed for the tests to compile. --- spring-service-connector/build.gradle | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/spring-service-connector/build.gradle b/spring-service-connector/build.gradle index fb6d701..3148e21 100644 --- a/spring-service-connector/build.gradle +++ b/spring-service-connector/build.gradle @@ -6,14 +6,15 @@ dependencies { compile("org.springframework:spring-context:$springVersion") compile("log4j:log4j:$log4jVersion") - + testCompile("org.springframework:spring-test:$springVersion") testCompile("mysql:mysql-connector-java:$mysqlDriverVersion") testCompile("org.mariadb.jdbc:mariadb-java-client:$mariadbDriverVersion") testCompile("postgresql:postgresql:$postgresDriverVersion") - testCompile("javax.mail:mail:$javaxMailVersion") testCompile("cglib:cglib-nodep:$cglibVersion") + testRuntime("javax.mail:javax.mail-api:$javaxMailVersion") + optional("org.springframework:spring-jdbc:$springVersion") optional("org.springframework:spring-context-support:$springVersion") optional("org.apache.tomcat:tomcat-jdbc:$tomcatVersion")