-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathsimple.sbt
31 lines (17 loc) · 1.01 KB
/
simple.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
name := "AkkaKafkaSparkCassandra"
version := "1.0"
scalaVersion := "2.11.8"
assemblyMergeStrategy in assembly := {
case PathList("META-INF", xs @ _*) => MergeStrategy.discard
case n if n.startsWith("reference.conf") => MergeStrategy.concat
case x => MergeStrategy.first
}
libraryDependencies += "org.apache.spark" %% "spark-core" % "2.0.0-preview"
libraryDependencies += "org.apache.spark" %% "spark-sql" % "2.0.0-preview"
libraryDependencies += "org.apache.spark" % "spark-mllib_2.11" % "2.0.0-preview"
libraryDependencies += "org.apache.spark" %% "spark-streaming" % "2.0.0-preview"
libraryDependencies += "org.apache.spark" % "spark-streaming-kafka-0-8_2.11" % "2.0.0-preview"
resolvers += "Spark Packages Repo" at "https://dl.bintray.com/spark-packages/maven"
libraryDependencies += "datastax" % "spark-cassandra-connector" % "2.0.0-M2-s_2.11"
libraryDependencies +="com.datastax.spark" %% "spark-cassandra-connector-embedded" % "2.0.0-M2"
libraryDependencies += "com.typesafe.akka" %% "akka-stream-kafka" % "0.12"