summaryrefslogtreecommitdiff
path: root/build.sbt
diff options
context:
space:
mode:
authorGrzegorz Kossakowski <grzegorz.kossakowski@gmail.com>2015-03-10 12:41:54 -0700
committerAdriaan Moors <adriaan.moors@typesafe.com>2015-04-17 11:47:31 -0700
commit4bb0406950dee57616edcf5c0e4b866be0d18906 (patch)
tree3acc7a36dd0c8ed18b999cc41f938ea375cb23a0 /build.sbt
parent54b7daccec0ce72b6077ebad137810cb4d864ae0 (diff)
downloadscala-4bb0406950dee57616edcf5c0e4b866be0d18906.tar.gz
scala-4bb0406950dee57616edcf5c0e4b866be0d18906.tar.bz2
scala-4bb0406950dee57616edcf5c0e4b866be0d18906.zip
Root project shouldn't compile any sources.
Let's override `sources` task to return empty collections of sources to compile. Otherwise, sbt by default would pick up sources in the root directory which is not what we want.
Diffstat (limited to 'build.sbt')
-rw-r--r--build.sbt3
1 files changed, 2 insertions, 1 deletions
diff --git a/build.sbt b/build.sbt
index d86e4ad779..d4cad4d973 100644
--- a/build.sbt
+++ b/build.sbt
@@ -184,7 +184,8 @@ lazy val root = (project in file(".")).
aggregate(library, forkjoin, reflect, compiler, asm, interactive, repl,
scaladoc, scalap, actors).settings(
scalaVersion := bootstrapScalaVersion,
- ivyScala := ivyScala.value map { _.copy(overrideScalaVersion = true) }
+ ivyScala := ivyScala.value map { _.copy(overrideScalaVersion = true) },
+ sources in Compile := Seq.empty
)
/**