-
Notifications
You must be signed in to change notification settings - Fork 0
/
build.sbt
31 lines (23 loc) · 838 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
28
29
30
31
name := "twitter"
version := "0.1"
scalaVersion := "2.12.10"
// Apache Spark
val sparkVersion = "3.1.1"
val bahirVersion = "2.4.0"
libraryDependencies ++= Seq(
"org.apache.spark" %% "spark-sql" % sparkVersion,
"org.apache.spark" %% "spark-core" % sparkVersion,
"org.apache.spark" %% "spark-streaming" % sparkVersion,
"org.apache.spark" %% "spark-mllib" % sparkVersion,
"org.apache.bahir" %% "spark-streaming-twitter" % bahirVersion
)
// Play JSON Parser
val playVersion = "2.9.2"
libraryDependencies += "com.typesafe.play" %% "play-json" % playVersion
// Twitter4j - twitter streaming
val twitter4jVersion = "4.0.6"
libraryDependencies ++= Seq(
"org.twitter4j" % "twitter4j-core" % twitter4jVersion,
"org.twitter4j" % "twitter4j-stream" % twitter4jVersion,
"org.twitter4j" % "twitter4j-async" % twitter4jVersion
)