-
Notifications
You must be signed in to change notification settings - Fork 5
/
Copy pathbuild.sbt
23 lines (17 loc) · 865 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
name := "spark-spray-starter"
version := "1.0"
scalaVersion := "2.10.4"
organization := "com.knoldus"
libraryDependencies ++= Seq(
"org.apache.spark" %% "spark-core" % "1.4.1" % "provided",
"com.typesafe.akka" %% "akka-actor" % "2.3.4",
"io.spray" %% "spray-can" % "1.3.3",
"io.spray" %% "spray-routing" % "1.3.3"
)
assembleArtifact in packageScala := false // We don't need the Scala library, Spark already includes it
mergeStrategy in assembly := {
case m if m.toLowerCase.endsWith("manifest.mf") => MergeStrategy.discard
case m if m.toLowerCase.matches("meta-inf.*\\.sf$") => MergeStrategy.discard
case "reference.conf" => MergeStrategy.concat
case _ => MergeStrategy.first
}