Skip to content

Instantly share code, notes, and snippets.

@ansrivas
Created June 25, 2015 21:40
Show Gist options
  • Save ansrivas/581cf7c8cbd86649ac80 to your computer and use it in GitHub Desktop.
Save ansrivas/581cf7c8cbd86649ac80 to your computer and use it in GitHub Desktop.
Creating a jar out of scala projects
1. Check the current version of sbt-installed
$ sbt sbtVersion
2. Depending upon the version of sbt,from this link, https://github.com/sbt/sbt-assembly
add this to your "project/assembly.sbt" in the root directory of your project
addSbtPlugin("com.eed3si9n" % "sbt-assembly" % "0.13.0")
the versions in the end for sbt assembly will differ based on sbt version. Explained clearly in the above git hub page
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment