-
Notifications
You must be signed in to change notification settings - Fork 3
Expand file tree
/
Copy pathbuild.sbt
More file actions
28 lines (20 loc) · 811 Bytes
/
build.sbt
File metadata and controls
28 lines (20 loc) · 811 Bytes
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
name := "spark-starter"
version := "1.0"
scalaVersion := "2.10.5"
resolvers ++= Seq(
"typesafe-repository" at "http://repo.typesafe.com/typesafe/releases"
)
val sparkVersion = "1.2.1"
// build a uber jar if using any of the external streaming components
libraryDependencies ++= Seq(
"org.apache.spark" %% "spark-core" % sparkVersion % "provided",
"org.apache.spark" %% "spark-streaming" % sparkVersion % "provided",
"org.apache.spark" %% "spark-sql" %sparkVersion % "provided",
"org.apache.spark" %% "spark-streaming-kafka" % sparkVersion,
"org.apache.spark" %% "spark-streaming-twitter" % sparkVersion,
// Test dependencies
"org.scalatest" %% "scalatest" % "2.2.4" % "test",
"org.xerial.snappy" % "snappy-java" % "1.1.1.7"
)
parallelExecution in Test := false
fork in Test := true