I get the following error when assembling my uber jar:
java.lang.RuntimeException: deduplicate: different file contents found in the following: [error] /Users/jake.stone/.ivy2/cache/org.bouncycastle/bcprov-jdk15on/jars/bcprov-jdk15on-1.61.jar:module-info.class [error] /Users/jake.stone/.ivy2/cache/javax.xml.bind/jaxb-api/jars/jaxb-api-2.3.1.jar:module-info.class
I am not up to date with java technology, but assume I cannot simply discard one of these classes.
Can someone tell me what mergeStrategy I can use to safely compile the uber jar?
META-INF/versions/9
, I had to change the discard case tocase x if x.endsWith("/module-info.class")
. – Narcoma