I am trying to generate, with sbt assembly, from a single project several jars. Each containing some of the dependencies.
So far I have found only this QA that is close to what I am looking for. However I don't need to have separate configs, basically when I run assembly, I just want to generate all the different jars.
To be more concrete. I want to generate:
- One jar with my code and some general dependencies
- One jar with hadoop dependencies <- this is the problem, as I don't know how to say, generate another jar that has only those dependencies.
- One jar with scala