Chapter 2. Getting started

This chapter covers

  • Testing code in a live interpreted session
  • Automatically running tasks when sources change
  • Filtering what tests to execute using testOnly
  • Providing discoverable usage using tab completion and an inspect command

The simple build tool (sbt) is used for building Java and Scala projects; its purpose is to allow users to skillfully perform the basics of building and to customize endlessly. sbt, at its core, provides a parallel execution engine and configuration system that allow you to design an efficient and robust script to build your software. sbt aims, above all, to be consistent in the basic concepts so that once you learn the concepts, you don’t have to unlearn them as you dive further into ...

Get sbt in Action now with O’Reilly online learning.

O’Reilly members experience live online training, plus books, videos, and digital content from 200+ publishers.