java - How to exclude transitive dependency -
i use javamail
in same project cxf. cxf brings older version of javamail
not suit me. how excluded? did so:
compile (group: 'org.apache.cxf', name: 'cxf-rt-bindings-soap', version: apachecfxversion) { exclude module: 'geronimo-javamail_1.4_spec' }
but did not help. find in war web-inf \ lib \ geronimo-javamail_1.4_spec-1.6.jar
try this:
configurations { all*.exclude module: 'geronimo-javamail_1.4_spec' }
Comments
Post a Comment