A standalone application using the Spark API in Scala. The application uses Simple Build Tool(SBT) for building the project.
Using sbt-assembly plugin, Create a fat JAR of your project with all of its dependencies.
In sbt use the command assembly to create a fat JAR
sbt/sbt assembly
For more details refer this post