aboutsummaryrefslogtreecommitdiffstats
path: root/build.gradle
diff options
context:
space:
mode:
authorSimon Brandhof <simon.brandhof@sonarsource.com>2019-05-14 09:38:41 +0200
committerSonarTech <sonartech@sonarsource.com>2019-05-14 20:21:11 +0200
commit400a31228db020658b475ed3bc1b3fb2a09c14b1 (patch)
tree290dfc46d0a93e00041d81dfa6c24952259615a4 /build.gradle
parent5a5f33146ac2e224b13c0dce33cf162c5ae70a6f (diff)
downloadsonarqube-400a31228db020658b475ed3bc1b3fb2a09c14b1.tar.gz
sonarqube-400a31228db020658b475ed3bc1b3fb2a09c14b1.zip
SONARCLOUD-644 fix conflict on javax.email
Diffstat (limited to 'build.gradle')
-rw-r--r--build.gradle8
1 files changed, 7 insertions, 1 deletions
diff --git a/build.gradle b/build.gradle
index b2192f7ae44..2109a921608 100644
--- a/build.gradle
+++ b/build.gradle
@@ -147,7 +147,7 @@ subprojects {
dependency 'io.jsonwebtoken:jjwt-api:0.10.5'
dependency 'io.jsonwebtoken:jjwt-impl:0.10.5'
dependency 'io.jsonwebtoken:jjwt-jackson:0.10.5'
- dependency 'javax.mail:mail:1.4.4'
+ dependency 'com.sun.mail:javax.mail:1.5.6'
dependency 'javax.annotation:javax.annotation-api:1.3.1'
dependency 'javax.servlet:javax.servlet-api:3.0.1'
dependency 'javax.xml.bind:jaxb-api:2.3.0'
@@ -240,6 +240,12 @@ subprojects {
}
}
+ // global exclusions
+ configurations.all {
+ // do not conflict with com.sun.mail:javax.mail
+ exclude group: 'javax.mail', module: 'mail'
+ }
+
sourceCompatibility = 1.8
tasks.withType(JavaCompile) {
options.encoding = 'UTF-8'