Things on this page are fragmentary and immature notes/thoughts of the author. Please read with your own judgement!
Add sbt-assembly as a dependency in project/assembly.sbt:
addSbtPlugin("com.eed3si9n" % "sbt-assembly" % "0.14.5")
References
Creating Scala Fat Jars for Spark on SBT with sbt-assembly Plugin