Skip to Main Content

sbt in Action

The simple Scala build tool

Published by Manning
Distributed by Simon & Schuster

About The Book

Summary

A tutorial about effectively building Scala projects, sbt in Action introduces the sbt tool with a simple project that establishes the fundamentals of running commands and tasks. Next, it shows you how to use the peripheral libraries in sbt to make common tasks simpler. Finally, it covers how to deploy software effectively. You'll learn to appreciate how sbt improves the process of developing software, not just running builds.

Purchase of the print book includes a free eBook in PDF, Kindle, and ePub formats from Manning Publications.

About the Technology

sbt is a build tool native to Scala that can transform any build scenario into a streamlined, automated, and repeatable process. Its interactive shell lets you customize your builds on the fly, and with sbt's unique incremental compilation feature, you can update only the parts of your project that change, without having to rebuild everything. Mastering sbt, along with the right patterns and best practices, is guaranteed to save you time and trouble on every project.

About the Book

sbt in Action, first and foremost, teaches you how to build Scala projects effectively. It introduces the sbt tool with a simple project that establishes the fundamentals of running commands and tasks. Next, it shows you how to use the peripheral libraries in sbt to make common tasks simpler. Along the way, you'll work through real projects that demonstrate how to build and deploy your projects regardless of development methodology or process.

What's Inside
  • Master sbt's loosely coupled libraries
  • Effectively manage dependencies
  • Automate and simplify your builds
  • Customize builds and tasks

About the Reader

Readers should be comfortable reading Scala code. No experience with sbt required.

About the Authors

Josh Suereth is an engineer at Typesafe and the author of Manning's Scala in Depth. Matthew Farwell is a senior developer and the author of the Scalastyle style checker.Table of Contents
    PART 1 WHY SBT?
  1. Why sbt?
  2. Getting started
  3. PART 2 UNDERSTANDING SBT'S CORE CONCEPTS
  4. Core concepts
  5. The default build
  6. PART 3 WORKING WITH SBT
  7. Testing
  8. The IO and Process libraries
  9. Accepting user input
  10. Using plugins and external libraries
  11. Debugging your build
  12. PART 4 EXTENDING SBT
  13. Automating workflows with commands
  14. Defining a plugin
  15. PART 5 DEPLOYING YOUR PROJECTS
  16. Distributing your projects

About The Authors

Josh Suereth is a Senior Software Engineer at Typesafe and the author of Scala in Depth. He is the author of several open source Scala projects, including the Scala automated resource management library, the PGP sbt plugin.

Matthew Farwell is a Senior Software developer at Nexthink. He is the author of Scalastyle, the style checker for Scala and is a contributor to JUnit and the Eclipse Scala IDE.

Product Details

  • Publisher: Manning (November 18, 2015)
  • Length: 280 pages
  • ISBN13: 9781638353126

Browse Related Books

Resources and Downloads

High Resolution Images

More books from this author: Josh Suereth