project/settings.sbt (1 lines of code) (raw):

scalacOptions ++= Seq("-deprecation", "-feature")