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.
This commit is contained in:
@@ -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")
|
||||
|
||||
Reference in New Issue
Block a user