0

My goal is to have a sbt jar file with all dependencies in order to create a debian package, so it could be install on machine without check/install package at first run. Is it the right choice use sbt-assembly to build a sbt jar with all dependencies?

The sbt binary version doesn't come with dependecies and sbt download them at first run.

Fabio
  • 155
  • 1
  • 1
  • 6
  • Not the answer you might looking for, but for an quick and dirty solution: Just copy the ivy cache (`~/.ivy2/cache`). If you explain why you try to accomplish this there is certainly a better solution. – semptic Feb 08 '16 at 07:40
  • @semptic I rephrase my question in order to explain my final goal. Thanks for your comment but for my case copying ivy cache is not the rigth "solution" – Fabio Feb 08 '16 at 08:57

1 Answers1

1

I don't fully understand your use case, but would sbt-native-packager .deb format be a good fit?

ed.
  • 2,696
  • 3
  • 22
  • 25
  • Thanks for your answer. It is not exactly what I search but it will help me to packaging sbt dependencies. Thanks again – Fabio Feb 10 '16 at 23:58