-
Notifications
You must be signed in to change notification settings - Fork 1
Expand file tree
/
Copy pathbuild.sbt
More file actions
34 lines (26 loc) · 988 Bytes
/
build.sbt
File metadata and controls
34 lines (26 loc) · 988 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
29
30
31
32
33
34
name := "grokking-data-streaming"
assemblyJarName := "grokking-data-streaming.jar"
version := "1.0"
scalaVersion := "2.11.8"
unmanagedBase := baseDirectory.value / "unlib"
resolvers += "Typesafe Repository" at "http://repo.typesafe.com/typesafe/releases/"
libraryDependencies ++= Seq(
"org.apache.spark" %% "spark-core" % "2.0.1" % "provided",
"org.apache.hadoop" % "hadoop-client" % "2.7.1" % "provided",
"org.apache.spark" % "spark-sql_2.11" % "2.0.1" % "provided",
"org.apache.spark" % "spark-streaming_2.11" % "2.0.1" % "provided",
"org.apache.spark" % "spark-streaming-kafka-0-8_2.11" % "2.0.1",
"com.yammer.metrics" % "metrics-core" % "2.2.0",
"net.liftweb" % "lift-json_2.11" % "3.0",
"redis.clients" % "jedis" % "2.9.0"
)
val excludedJarsName = Seq(
"scala-library-2.11.8.jar",
"unused-1.0.0.jar"
)
excludedJars in assembly := {
val cp = (fullClasspath in assembly).value
cp filter {
c => excludedJarsName exists { c.data.getName contains _ }
}
}