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'
}
}
+ // 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'
compile 'com.google.code.gson:gson'
compile 'com.googlecode.json-simple:json-simple'
+ compile 'com.sun.mail:javax.mail'
compile 'commons-io:commons-io'
- compile 'javax.mail:mail'
compile 'junit:junit'
compile 'org.assertj:assertj-core'
compile 'org.hamcrest:hamcrest-all'
compile 'org.jsoup:jsoup'
compileOnly 'com.google.code.findbugs:jsr305'
-
}
artifactoryPublish.skip = false