https://github.com/sbt/sbt-assembly
を参考にsbt設定を追加する
// project/plugins.sbt
resolvers += Resolver.url("artifactory", url("http://scalasbt.artifactoryonline.com/scalasbt/sbt-plugin-releases"))(Resolver.ivyStylePatterns)
addSbtPlugin("com.eed3si9n" % "sbt-assembly" % "0.8.4")
//build.sbt
import AssemblyKeys._ // put this at the top of the file
assemblySettings
//メインクラスを明示的に指定
mainClass in assembly := Some("com.example.Main")
# target以下にjarファイル作成
$ sbt
> assembly
# jarファイルの実行
$ java -jar target/jar-file.jar