Getting Started with sbt
summary
Shows how to initialize a new Scala project with sbt 1.2.6: create project/ and build.properties, use the Maven layout with Scala 2.12, and prefer %% for Scala-cross dependencies. Demonstrates adding dependencies and tests, building a small greeter app, using sbt run and continuous commands (~run, ~test), placing plugins in project/plugins.sbt, and adding a custom task that prints the project version.
AI-written summary · about
chapters (16)
- 0:00sbt introduction
- 1:07Why choose sbt
- 2:31Simple app with sbt
- 3:35Dependency management
- 7:11Project structure
- 11:04Interactive config
- 14:27Incremental mode
- 16:48IDE integration
- 18:38Adding tests
- 22:41Running tests
- 25:22Generating JAR
- 27:51Extending with plugins
- 29:13Custom tasks
- 32:10Viewing config
- 32:53sbt config tips
- 35:04sbt vs Maven








