-
Notifications
You must be signed in to change notification settings - Fork 224
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Shading doesn't insert unmanaged dependencies appropriately in the jar #200
Comments
Seems that the condition on the filter don't returns true when the ShadeRule was expecting to apply for all, because an unmanaged jar, don't have metadata, so https://github.com/sbt/sbt-assembly/blob/master/src/main/scala/sbtassembly/Assembly.scala#L204
|
Excellent @damdev !!! |
Fix to #200 match ShadeRule forAll on unmanaged libs
Fixed by #200 PR |
I have a jar under the folder /lib and I'm shading it with assemblyShadeRules. Assembly renames the imports correctly but leaves the unmanaged jar's class in the root of the resulting jar.
This is my SBT config:
Tell me if I can provide some more specific example.
The text was updated successfully, but these errors were encountered: