sbt new sbt/scala-seed.g8
or
sbt new scala/hello-world.g8
or
# https://github.com/MrPowers/spark-sbt.g8
MrPowers/spark-sbt.g8
sbt clean clean-files
find . -name target -type d -exec rm -rf {} \;
sbt clean compile
sbt ~testQuick
sbt package
mainClass := Some("com.cherkashyn.solr.ConnectionCheck")
- project/assembly.sbt
addSbtPlugin("com.eed3si9n" % "sbt-assembly" % "0.14.7")
- build.sbt
mainClass := Some("com.bmw.ad.solr.ConnectionCheck")
test in assembly := {}
- command to build uber jar target/scala-{version}/{project-name}.jar
sbt assembly
sbt
sbt "runMain com.cherkashyn.vitalii.finch.Finchwebapp"
$HOME/.ivy2/cache/{path to library}