-
Notifications
You must be signed in to change notification settings - Fork 0
/
build.sbt
29 lines (25 loc) · 1.11 KB
/
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
26
27
28
29
name := "Anchormen SparkTraining"
/** Common settings for all projects **/
lazy val settings = Seq(
organization := "nl.anchormen",
isSnapshot := true,
version := "0.0.1-SNAPSHOT",
crossPaths := false,
scalaVersion := "2.10.6"
)
val sparkVersion = "1.5.2"
lazy val dependencies = Seq(
libraryDependencies += "log4j" % "log4j" % "1.2.17",
libraryDependencies += "org.slf4j" % "slf4j-log4j12" % "1.7.12",
libraryDependencies += "org.scalatest" %% "scalatest" % "2.2.4" % "test",
libraryDependencies += "org.mockito" % "mockito-all" % "2.0.2-beta" % "test",
libraryDependencies += "org.apache.spark" %% "spark-core" % sparkVersion,
libraryDependencies += "org.apache.spark" %% "spark-sql" % sparkVersion,
libraryDependencies += "org.apache.spark" %% "spark-mllib" % sparkVersion,
libraryDependencies += "org.apache.spark" %% "spark-streaming" % sparkVersion,
libraryDependencies += "org.apache.spark" %% "spark-streaming-kafka" % sparkVersion,
libraryDependencies += "com.databricks" %% "spark-csv" % "1.3.0"
)
lazy val root = (project in file("."))
.settings(settings : _*)
.settings(dependencies)