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 the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.