Entry META-INF/LICENSE is a duplicate but no duplicate handling strategy has been set
#38
Labels
Entry META-INF/LICENSE is a duplicate but no duplicate handling strategy has been set
#38
Title is the error message. This happened when depending on
embed "com.fasterxml.jackson.core:jackson-databind:2.18.2"
, I assume it happens when embedding any library with a file conflictI managed to solve the issue by setting a duplicatesStrategy like so;
// build.gradle jar { //... from(provider{ configurations.embed.collect {it.isDirectory() ? it : zipTree(it)} }) + { duplicatesStrategy = DuplicatesStrategy.EXCLUDE } }
This is on the master branch as of c19ab24
Mostly opening this issue so anyone else with the same error has something to try, I'm not sure this is the ideal solution but it at least gets the build to complete
The text was updated successfully, but these errors were encountered: