talira

A simple build tool for Scala and Java

open sourceApache-2.0free

sbt is the build tool for Scala and Java projects, used by most Scala developers. Builds are written in build.sbt, a typed Scala DSL that describes a parallel task graph, so typos fail at compile time. It cross-builds against several Scala versions, compiles incrementally with the Zinc compiler and reruns tasks on file changes with ~, starts projects from Giter8 templates with sbt new, and is extended by more than 100 community plugins (Scala.js support, native packaging, releases). It is maintained by the Scala Center under the Apache 2.0 licence.

Ways to install

Problems it solves

  • build and test a Scala project from the command line
  • compile my Scala library against several Scala versions
  • rebuild and rerun tests automatically when I save a Scala file

Features

  • build.sbt: a typed Scala DSL for a parallel task graph
  • cross-building against multiple Scala versions
  • incremental compilation with Zinc
  • watch mode (~) that reruns tasks when files change
  • project templates with sbt new (Giter8)
  • 100+ community plugins

Alternatives

The same job

These do what sbt does.

  1. Apache Maven Apache Maven builds, tests, and documents Java projects from a single project object model (POM)
  2. Scala CLI Command-line tool to compile, run, test and package Scala code
  3. Mill A better build tool for Java, Scala and Kotlin
  4. Stack A program for developing Haskell projects

Compare sbt with the top 3