sbt/main
Anatolii Kmetiuk 4ca516fd5f
[2.x] Fix duplicate autoplugins packageBin mappings (#9255)
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.
2026-05-28 12:19:40 -04:00
..
src [2.x] Fix duplicate autoplugins packageBin mappings (#9255) 2026-05-28 12:19:40 -04:00
NOTICE Transfer copyright to Scala Center 2023-06-20 16:39:07 +02:00