-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathbuild.sbt
28 lines (18 loc) · 869 Bytes
/
build.sbt
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
name := "Indexed"
version := "1.0"
scalaVersion := "2.11.8"
val sparkVersion = "2.1.0"
//retrieveManaged := true
//resolvers += "SBT Pack Repository" at "http://repo1.maven.org/maven2/org/xerial/sbt/"
// Automatically find def main(args:Array[String]) methods from classpath
//packAutoSettings
mainClass in (Compile,run) := Some("com.hadas.index.SparkMain")
//libraryDependencies += "org.mongodb.scala" %% "mongo-scala-driver" % "1.2.1"
libraryDependencies ++= Seq(
"org.mongodb.scala" %% "mongo-scala-driver" % "1.2.1",
"org.apache.spark" %% "spark-core" % sparkVersion % "provided",
"org.apache.spark" %% "spark-sql" % sparkVersion % "provided",
"org.apache.spark" %% "spark-mllib" % sparkVersion % "provided",
"org.apache.spark" %% "spark-streaming" % sparkVersion % "provided",
"org.apache.spark" %% "spark-hive" % sparkVersion % "provided"
)