1
0
Fork 0
mirror of https://github.com/tldr-pages/tldr.git synced 2025-04-29 23:24:55 +02:00
tldr/pages/common/sbt.md

25 lines
452 B
Markdown
Raw Normal View History

2019-10-04 13:50:39 +07:00
# sbt
> Build tool for Scala and Java projects.
> More information: <https://www.scala-sbt.org/1.0/docs/>.
2019-10-04 13:50:39 +07:00
- 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}}`
2019-10-04 13:50:39 +07:00
- 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`