PacktLib: Getting Started with SBT for Scala

Getting Started with SBT for Scala

Credits

About the Author

Acknowledgments

About the Reviewers

www.PacktPub.com

Preface

Hello World with SBT

Why SBT?

Installing SBT

Creating a new project

Compiling, testing, and running your project

Going interactive with the SBT shell

Summary

.sbt Build Definitions

The theory of .sbt

The .sbt syntax

Understanding keys

Working with scopes

Summary

Dependency Management

Quick introduction to Maven or Ivy dependency management

Dependency management in SBT

Resolvers

Summary

Full Build Definitions

Build definition project

.sbt and .scala

Working with full build definitions

Multiproject builds

Summary

Compile, Test, and Run

Commands

Logging

Forking the JVM

Parallel execution

SBT scripts and REPL

Classpath, sources, and resources

Test

Summary

Index