sbt-assembly icon indicating copy to clipboard operation
sbt-assembly copied to clipboard

excluding (non-duplicate) resources

Open raboof opened this issue 3 years ago • 1 comments

I have a project where I'd like to exclude certain resources.

The README mentions customizing the merge strategy for this, but AFAICS that is only invoked when the same resource is encountered twice, so this cannot be used to discard a 'single' resource.

Using shade rules for this doesn't appear to work either, but that makes sense since it's supposed to work on classes, not resources, I suppose.

raboof avatar Apr 29 '21 15:04 raboof

Maybe there could be a setting to apply merge strategy on non-duplicates?

eed3si9n avatar Apr 29 '21 15:04 eed3si9n