diff options
author | Michael Armbrust <michael@databricks.com> | 2014-05-31 12:24:35 -0700 |
---|---|---|
committer | Aaron Davidson <aaron@databricks.com> | 2014-05-31 12:24:50 -0700 |
commit | cefc6404abb9864f36740870970ea1ceea2646d0 (patch) | |
tree | 2c5f3c110991d4af009d2e0541ee87bf3994ac0b /project | |
parent | f9fdf32c09f089ccd7a24642294c3ae02e978d3f (diff) | |
download | spark-cefc6404abb9864f36740870970ea1ceea2646d0.tar.gz spark-cefc6404abb9864f36740870970ea1ceea2646d0.tar.bz2 spark-cefc6404abb9864f36740870970ea1ceea2646d0.zip |
Optionally include Hive as a dependency of the REPL.
Due to the way spark-shell launches from an assembly jar, I don't think this change will affect anyone who isn't trying to launch the shell directly from sbt. That said, it is kinda nice to be able to launch all things directly from SBT when developing.
Author: Michael Armbrust <michael@databricks.com>
Closes #801 from marmbrus/hiveRepl and squashes the following commits:
9570571 [Michael Armbrust] Optionally include Hive as a dependency of the REPL.
(cherry picked from commit 7463cd248f81975bce9ff864002932864bd5b649)
Signed-off-by: Aaron Davidson <aaron@databricks.com>
Diffstat (limited to 'project')
-rw-r--r-- | project/SparkBuild.scala | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/project/SparkBuild.scala b/project/SparkBuild.scala index 0c67c492d9..e4baf355bc 100644 --- a/project/SparkBuild.scala +++ b/project/SparkBuild.scala @@ -59,8 +59,10 @@ object SparkBuild extends Build { lazy val core = Project("core", file("core"), settings = coreSettings) + def replDependencies = Seq[ProjectReference](core, graphx, bagel, mllib, sql) ++ maybeHiveRef + lazy val repl = Project("repl", file("repl"), settings = replSettings) - .dependsOn(core, graphx, bagel, mllib, sql) + .dependsOn(replDependencies.map(a => a: sbt.ClasspathDep[sbt.ProjectReference]): _*) lazy val tools = Project("tools", file("tools"), settings = toolsSettings) dependsOn(core) dependsOn(streaming) |