project/build.sbt (7 lines of code) (raw):

scalacOptions ++= Seq( "-deprecation", "-unchecked", "-feature", "-encoding", "utf8" )