tldr/pages/common/sbt.md
2019-11-04 21:00:57 +01:00

462 B

sbt

Build tool for Scala and Java projects. More information: https://www.scala-sbt.org/1.0/docs/index.html.

  • Start the SBT interactive shell (REPL):

sbt

  • Create a new Scala project from an existing Giter8 template hosted on GitHub:

sbt new {{scala/hello-world.g8}}

  • Use the specified version of sbt:

sbt -sbt-version {{version}}

  • Use a specific jar file as the sbt launcher:

sbt -sbt-jar {{path}}

  • List all sbt options:

sbt -h