Merge pull request #1319 from gkossakowski/name-hashing-for-sbt-itself

Enable name hashing algorithm in sbt build.
This commit is contained in:
Grzegorz Kossakowski 2014-05-09 16:51:07 +02:00
commit 53555a8e04
1 changed files with 2 additions and 1 deletions

View File

@ -22,7 +22,8 @@ object Sbt extends Build {
resolvers += Resolver.typesafeIvyRepo("releases"), resolvers += Resolver.typesafeIvyRepo("releases"),
concurrentRestrictions in Global += Util.testExclusiveRestriction, concurrentRestrictions in Global += Util.testExclusiveRestriction,
testOptions += Tests.Argument(TestFrameworks.ScalaCheck, "-w", "1"), 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; lazy val myProvided = config("provided") intransitive;