Enable Java -Xlint warnings, excluding serialization-related ones

This commit is contained in:
Paolo G. Giarrusso 2013-01-09 21:54:27 +01:00 committed by Mark Harrah
parent 92d7520f7b
commit b0fe85490c
1 changed files with 1 additions and 1 deletions

View File

@ -23,7 +23,7 @@ object Sbt extends Build
resolvers += Resolver.typesafeIvyRepo("releases"),
concurrentRestrictions in Global += Util.testExclusiveRestriction,
testOptions += Tests.Argument(TestFrameworks.ScalaCheck, "-w", "1"),
javacOptions in compile ++= Seq("-target", "6", "-source", "6")
javacOptions in compile ++= Seq("-target", "6", "-source", "6", "-Xlint", "-Xlint:-serial")
)
lazy val myProvided = config("provided") intransitive;