From b0fe85490cce28ef97b795c7688da6d1a2d8e9d4 Mon Sep 17 00:00:00 2001 From: "Paolo G. Giarrusso" Date: Wed, 9 Jan 2013 21:54:27 +0100 Subject: [PATCH] Enable Java -Xlint warnings, excluding serialization-related ones --- project/Sbt.scala | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/project/Sbt.scala b/project/Sbt.scala index b4ff6611d..d4fb82028 100644 --- a/project/Sbt.scala +++ b/project/Sbt.scala @@ -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;