Scala SBT scalacOptions syntax/examples

As a quick note to self, here’s an example of how to set scalacOptions in an SBT build.sbt file:

scalacOptions ++= Seq(

As shown, scalacOptions lets you set Scala compiler options in your SBT project build.

A large Scala SBT build.sbt example

Wow, the following code might be the largest Scala SBT build.sbt configuration file I’ve ever seen. It comes from this project.

Here’s the build.sbt file contents: