diff options
author | Matei Zaharia <matei@eecs.berkeley.edu> | 2013-07-05 11:13:41 -0700 |
---|---|---|
committer | Matei Zaharia <matei@eecs.berkeley.edu> | 2013-07-05 11:13:41 -0700 |
commit | 729e463f649332c5480d2d175d42d4ba0dd3cb74 (patch) | |
tree | e12c427ef2550d3b0762399b6aa3224ad14578ff /project | |
parent | 6ad85d0918460188172ffc1b23b3a2035f13dbcb (diff) | |
download | spark-729e463f649332c5480d2d175d42d4ba0dd3cb74.tar.gz spark-729e463f649332c5480d2d175d42d4ba0dd3cb74.tar.bz2 spark-729e463f649332c5480d2d175d42d4ba0dd3cb74.zip |
Import RidgeRegression example
Conflicts:
run
Diffstat (limited to 'project')
-rw-r--r-- | project/SparkBuild.scala | 12 |
1 files changed, 11 insertions, 1 deletions
diff --git a/project/SparkBuild.scala b/project/SparkBuild.scala index 5e4692162e..731671c23b 100644 --- a/project/SparkBuild.scala +++ b/project/SparkBuild.scala @@ -25,7 +25,7 @@ object SparkBuild extends Build { //val HADOOP_MAJOR_VERSION = "2" //val HADOOP_YARN = true - lazy val root = Project("root", file("."), settings = rootSettings) aggregate(core, repl, examples, bagel, streaming) + lazy val root = Project("root", file("."), settings = rootSettings) aggregate(core, repl, examples, bagel, streaming, ml) lazy val core = Project("core", file("core"), settings = coreSettings) @@ -37,6 +37,8 @@ object SparkBuild extends Build { lazy val streaming = Project("streaming", file("streaming"), settings = streamingSettings) dependsOn (core) + lazy val ml = Project("ml", file("ml"), settings = mlSettings) dependsOn (core) + // A configuration to set an alternative publishLocalConfiguration lazy val MavenCompile = config("m2r") extend(Compile) lazy val publishLocalBoth = TaskKey[Unit]("publish-local", "publish local for m2 and ivy") @@ -219,6 +221,14 @@ object SparkBuild extends Build { def bagelSettings = sharedSettings ++ Seq(name := "spark-bagel") + def mlSettings = examplesSettings ++ Seq( + name := "spark-ml", + libraryDependencies ++= Seq( + "org.jblas" % "jblas" % "1.2.3", + "org.apache.commons" % "commons-math3" % "3.2" + ) + ) + def streamingSettings = sharedSettings ++ Seq( name := "spark-streaming", resolvers ++= Seq( |