Enable name hashing algorithm in sbt build.

The name hashing seems to be stable enough for sbt to use it by default
now. It also greatly improves incremental compilation experience for
people working on sbt sources.
This commit is contained in:
Grzegorz Kossakowski 2014-05-09 14:18:46 +02:00
parent d198ea4099
commit 436e7078fb
1 changed files with 2 additions and 1 deletions

View File

@ -22,7 +22,8 @@ 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", "-Xlint", "-Xlint:-serial")
javacOptions in compile ++= Seq("-target", "6", "-source", "6", "-Xlint", "-Xlint:-serial"),
incOptions := incOptions.value.withNameHashing(true)
)
lazy val myProvided = config("provided") intransitive;