-
Notifications
You must be signed in to change notification settings - Fork 1
/
build.sbt
27 lines (24 loc) · 987 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
26
27
name := "spark-kafka-consumer"
organization := "com.github.unofficialoraclecloudhub"
version := "1.0"
scalaVersion := "2.11.8"
sourceManaged in Compile := file("build")
val sparkVersion = "2.1.0"
// resolvers are places sbt can look to
// when it needs a jar (other than the default ones)
// https://www.scala-sbt.org/1.0/docs/Resolvers.html
resolvers ++= Seq(
"apache-snapshots" at "http://repository.apache.org/snapshots/"
)
// these are our dependencies
libraryDependencies ++= Seq(
"org.apache.spark" %% "spark-core" % sparkVersion,
"org.apache.spark" %% "spark-sql" % sparkVersion,
"org.apache.spark" %% "spark-streaming" % sparkVersion,
"org.apache.bahir" %% "spark-streaming-twitter" % "2.0.1",
// "org.apache.spark" % "spark-streaming-kafka-0-8-assembly" % "2.1.1",
"org.apache.spark" %% "spark-hive" % sparkVersion,
"log4j" % "log4j" % "1.2.17",
// "org.json4s" %% "json4s-native" % "3.2.11"
"org.json4s" %% "json4s-jackson" % "3.2.11"
)