A rare corner appears with Google’s cloud-trace-java library. Given two (poorly named) dependencies:
one will be lost when packaging
sink-0.3.2.jar into a WAR. Using this project in Eclipse gives the error:
Invalid classpath .../sink-0.3.2.jar. The project contains another dependency with the same archive name.
There’s a discussion where the proposed solution is having the maintainers rename one library to
sink-api. That seems reasonable but can anything be done right now by the Gradle user? Is there something like Jar.archiveName or ArtifactHandler that applies to Eclipse / WAR generation or the initial JAR download?