How to...
How to...¶
This page presents an index of the how-to topics. See also the index with examples, which provides brief examples along with the index.
- Index with Examples
- Generating files
- Inspect the build
- Show or search help for a command, task, or setting
- List available tasks
- List available settings
- Display forward and reverse dependencies of a setting or task
- Display tree of setting/task dependencies
- Display the description and type of a setting or task
- Display the delegation chain of a setting or task
- Display related settings or tasks
- Show the list of projects and builds
- Show the current session (temporary) settings
- Show basic information about sbt and the current build
- Show the value of a setting
- Show the result of executing a task
- Show the classpath used for compilation or testing
- Show the main classes detected in a project
- Show the test classes detected in a project
- Interactive mode
- Use tab completion
- Show more tab completion suggestions
- Show JLine keybindings
- Modify the default JLine keybindings
- Configure the prompt string
- Use history
- Change the location of the interactive history file
- Use the same history for all projects
- Disable interactive history
- Run commands before entering interactive mode
- Configure and use logging
- View the logging output of the previously executed command
- View the previous logging output of a specific task
- Show warnings from the previous compilation
- Change the logging level globally
- Configure printing of stack traces
- Print the output of tests immediately instead of buffering
- Add a custom logger
- Log messages in a task
- Project metadata
- Configure packaging
- Running commands
- Configure and use Scala
- Set the Scala version used for building the project
- Disable the automatic dependency on the Scala library
- Temporarily switch to a different Scala version
- Use a local Scala installation for building a project
- Build a project against multiple Scala versions
- Enter the Scala REPL with a project's dependencies on the classpath, but not the compiled project classes
- Enter the Scala REPL with a project's dependencies and compiled code on the classpath
- Enter the Scala REPL with plugins and the build definition on the classpath
- Define the initial commands evaluated when entering the Scala REPL
- Use the Scala REPL from project code
- Triggered execution
Contents