List of Listings

 

Chapter 3. Core concepts

Listing 3.1. Full multiproject build

Chapter 5. Testing

Listing 5.1. Running the ~test task

Listing 5.2. Running the ~testOnly task

Listing 5.3. Failing JUnit test

Listing 5.4. ScalaCheck property testers

Chapter 7. Accepting user input

Listing 7.1. Superclass

Listing 7.2. The evolution test input task

Listing 7.3. Full evolution testing example

Chapter 10. Automating workflows with commands

Listing 10.1. Creating a release command

Listing 10.2. Parser for version numbers

Listing 10.3. sbt> help

Chapter 11. Defining a plugin

Listing 11.1. project/Project.scala

Listing 11.2. scalastyle-plugin/src/main/scala/ScalastylePlugin.scala

Listing 11.3. scalastyle-plugin/src/main/scala/ScalastylePlugin.scala

Listing 11.4. scalastyle-plugin/src/sbt-test/config/does-not-exist/project/plugins.sbt

Appendix A. What you need to know about Ivy

Listing A.1. build.sbt with dependency conflicts

Listing A.2. Resolving Ivy dependencies in the sbt console