From 436e7078fb05bfe89d4a3b4d64612ae0ac80738d Mon Sep 17 00:00:00 2001 From: Grzegorz Kossakowski Date: Fri, 9 May 2014 14:18:46 +0200 Subject: [PATCH] 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. --- project/Sbt.scala | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/project/Sbt.scala b/project/Sbt.scala index a711e69b9..8a5110782 100644 --- a/project/Sbt.scala +++ b/project/Sbt.scala @@ -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;