I'm using the sbt-assembly plugin for packaging a fat jar. I have a dependency that I need when running the app locally (with sbt run
), however, I need to exclude it (including its transitive dependencies, which it has many) during assembly
. I can't find a way to do this. Is this possible?
Asked
Active
Viewed 59 times
2

Jacek Laskowski
- 72,696
- 27
- 242
- 420

philburresseme
- 63
- 5
-
In the other question, there's also a one-liner solution by @douglaz, which is better than my "unprovided", so I'm voting to close this one so all good ideas go there. – Eugene Yokota Feb 25 '14 at 18:50