mirror of https://github.com/sbt/sbt.git
Enable Java -Xlint warnings, excluding serialization-related ones
This commit is contained in:
parent
92d7520f7b
commit
b0fe85490c
|
|
@ -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;
|
||||
|
|
|
|||
Loading…
Reference in New Issue