I'm quite new to Scala and sbt and would like to create a fat jar files which includes all the dependency libraries. It looks like the original sbt does not do that and I have to user something like sbt-assembly. However I can't quite figure out how should I install and use it. Can someone elaborate on it for me?
Drop this into project/plugins.sbt
addSbtPlugin("com.eed3si9n" % "sbt-assembly" % "0.13.0")
That should let you run sbt assembly
now. Then you can solve merge conflicts in your build.sbt or Build.scala.
The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.