sbt / sbt-native-packager

sbt Native Packager
https://sbt-native-packager.readthedocs.io/en/stable/
BSD 2-Clause "Simplified" License
1.59k stars 439 forks source link

Any solutions for Shading dependencies? #1511

Closed kell18 closed 2 years ago

kell18 commented 2 years ago

Hi!

Thank you for the great plugin!

Is there any way to do Shading similar to one that is implemented in Sbt-assembly? Or maybe you know some workarounds?

muuki88 commented 2 years ago

Hi and thanks ☺️

No, not really. Native packager puts jars separately in the classpath. This makes it rather tricky to do any sort of shading.

However you can use sbt-assembly and native packager together 😅