My project includes a jar file because it is listed as a transitive dependency.
However, I have verified not only that I don’t need it but it causes problems because a class inside the jar files shadows a class I need in another jar file.
How do I leave out a single jar file from my transitive dependencies?
You can exclude a dependency in the following manner: