sbt compile with deprecation warnings $ sbt > set scalacOptions in ThisBuild ++= Seq("-unchecked", "-deprecation") > compile check scala version $ sbt console scala> util.Properties.versionString res1: String = version 2.10.3