-
Notifications
You must be signed in to change notification settings - Fork 11
/
Copy pathbuild.sbt
37 lines (32 loc) · 1.16 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
30
31
32
33
34
35
scalaVersion in ThisBuild := "2.11.8"
lazy val commonSettings = Seq(
version := "0.1-SNAPSHOT",
organization := "mwt",
scalaVersion := "2.11.8"
)
val twitterVersion = "6.34.0"
val kafkaStreamsVersion = "0.10.0.0"
val hbcCoreVersion = "2.2.0"
val gsonVersion = "2.7"
val configVersion = "1.0.1"
val scalaLoggingVersion = "3.4.0"
lazy val twitterstream = (project in file("twitterstream")).
settings(commonSettings: _*).
settings(
assemblyJarName in assembly := "twitterstream.jar"
).
settings(
resolvers ++= Seq(
"twttr" at "http://maven.twttr.com/",
"Sonatype OSS Snapshots" at "https://oss.sonatype.org/content/repositories/snapshots",
"Scalaz Bintray Repo" at "http://dl.bintray.com/scalaz/releases"
)
).settings(libraryDependencies ++= Seq(
"com.fasterxml.jackson.module" %% "jackson-module-scala" % "2.6.3",
"com.twitter" %% "util-core" % twitterVersion,
"com.twitter" % "hbc-core" % hbcCoreVersion,
"org.apache.kafka" % "kafka-streams" % kafkaStreamsVersion,
"com.google.code.gson" % "gson" % gsonVersion,
"com.typesafe" % "config" % configVersion,
"com.typesafe.scala-logging" %% "scala-logging" % scalaLoggingVersion
))