mirror of https://github.com/sbt/sbt.git
Deduplicate executable jar package entries. In the issue, the duplicate was something like: (resource_managed/.../sbt/sbt.autoplugins, "sbt/sbt.autoplugins") (classes/.../sbt/sbt.autoplugins, "sbt/sbt.autoplugins") This is because copyResources copied autoplugin metadata to the classes directory. Solution: when composing the packageBinMappings, differentiate between artifacts that come from class directory and from outside of it. If there is a duplicate, prefer resource that comes from outside of it. |
||
|---|---|---|
| .. | ||
| src | ||
| NOTICE | ||