|SBT in Action
The simple Scala build tool
Joshua Suereth and Matthew Farwell
MEAP Began: April 2013
Softbound print: Spring 2014 (est.) | 325 pages
|Order today and start reading SBT in Action today through MEAP|
|MEAP + Ebook only - $35.99|
|MEAP + Print book (includes Ebook) when available - $44.99|
|* For more information, please see the MEAP FAQs page.|
|About MEAP Release Date Estimates|
Table of Contents, MEAP Chapters & Resources
|Table of Contents||Resources||Related Titles|
PART 1: SIMPLE BUILD TOOL IN ACTION
1. Why sbt? - FREE
2. Getting started with the simple built tool (sbt) - AVAILABLE
PART 2: UNDERSTANDING SBT'S CORE CONCEPTS
3. Core Concepts - AVAILABLE
4. The Default Build - AVAILABLE
PART 3: WORKINGWITH SBT
5. Testing - AVAILABLE
6. Process & IO with sbt's libraries - AVAILABLE
7. Accepting user input with sbt's input tasks - AVAILABLE
8. Using Plugins and External Libraries
9. Debugging Your Build
PART 4: EXTENDING SBT
10. Getting *Dirty* with the Build
11. Defining Plugins
PART 5: DEPLOYING YOUR PROJECTS
12. The SBT Launcher
13. Distributing Your Projects
A A complete sample build
B What you need to know about Ivy - AVAILABLE
C Scala for sbt users
D Common errors and their meanings
E sbt's loading mechanism
F Setting up your IDE for SBT?
Simple Build Tool: sbt. The idea of a high quality build tool for Scala is indeed simple, but sbt itself is richly-featured and powerful. Documentation for sbt is sparse, and the blogs, tutorials, and other bits scattered across the web leave you wanting a comprehensive, accurate picture of how to build Scala projects effectively and efficiently. This book will help you transform ugly, complex builds into a streamlined, automated, and repeatable process.
SBT in Action is first and foremost a tutorial about effectively building Scala projects. 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. This includes an I/O library to deal with files and how to parse user input in a meaningful fashion. Finally, it covers how to deploy software effectively.
- Master sbt's loosely coupled libraries
- Effectively manage dependencies in your builds
- Automate and simplify your builds
- Practical deployment techniques
- Customize builds and tasks for your own use cases
Most importantly, you'll learn to appreciate how sbt improves the process of developing software, not just running builds. This book assumes you're comfortable reading and writing Scala code. No experience with sbt required.
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.
About the Early Access Version
This Early Access version of SBT in Action enables you to receive new chapters as they are being written. You can also interact with the authors to ask questions, provide feedback and errata, and help shape the final manuscript on the Author Online forum.
Want to learn More?
Sign up to read more content when it is released and to receive news about this book.