sbt is an interactive build tool for Scala, Java, and related projects, driven by a Scala-based build definition and parallel task execution in a shell.
Overview
sbt compiles, tests, packages, and publishes Scala and Java code through tasks you declare in build files. Its build.sbt DSL expresses a parallel task graph in Scala, so typos surface as compile errors rather than silent misconfiguration. The interactive shell lets developers run tasks, watch sources for changes, and iterate quickly.
The tool integrates Zinc for incremental Scala compilation and supports cross-building the same project against multiple Scala versions. Community plugins extend packaging, releases, native formats such as Docker images, and publishing workflows without forking the core.
New projects can be bootstrapped from Giter8 templates with commands like sbt new, including seeds for Scala, Play, Akka HTTP, http4s, and Spark-oriented layouts. Templates and plugins are maintained separately from the core repositories that host I/O modules, Zinc, and the main sbt implementation.
Teams adopt sbt as the primary interface for testing, releasing, and deploying standardized application pipelines, with documentation and setup guides pointing to binary installs and FAQ resources.
Key features
- Scala-based build.sbt DSL
- Interactive task shell
- Zinc incremental compilation
- Cross Scala version builds
- Parallel task execution
- Giter8 project templates
- Extensive community plugins
- File watch driven recompilation
Use cases
- Scala application builds
- Java and mixed-language projects
- Library cross-version publishing
- Play and Akka service development
- Custom release and packaging pipelines