-
Notifications
You must be signed in to change notification settings - Fork 3
Expand file tree
/
Copy pathbuild.sbt
More file actions
28 lines (21 loc) · 761 Bytes
/
build.sbt
File metadata and controls
28 lines (21 loc) · 761 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
lazy val sparkStreamingExample = project
.copy(id = "spark-streaming-example")
.in(file("."))
.enablePlugins(AutomateHeaderPlugin, GitVersioning)
name := "spark-streaming-example"
libraryDependencies ++= Vector(
Library.scalaCheck % "test",
Library.spark,
Library.sparkKafka,
Library.sparkStreaming,
Library.sparkCassandra
)
initialCommands := """|import de.codecentric.spark.streaming.example._
|""".stripMargin
mergeStrategy in assembly := {
case PathList("META-INF", "ECLIPSEF.RSA") => MergeStrategy.discard
case PathList("META-INF", "MANIFEST.MF") => MergeStrategy.discard
case _ => MergeStrategy.first
}
ivyScala := ivyScala.value map { _.copy(overrideScalaVersion = true) }
scalaVersion := Version.Scala