forked from pwendell/spark-perf
-
Notifications
You must be signed in to change notification settings - Fork 0
/
build.sbt
37 lines (24 loc) · 932 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
24
25
26
27
28
29
30
31
32
33
34
35
36
37
import AssemblyKeys._
name := "spark-perf"
version := "0.1"
organization := "org.spark-project"
scalaVersion := "2.9.3"
libraryDependencies += "org.clapper" % "argot_2.9.2" % "0.4"
libraryDependencies += "net.sf.jopt-simple" % "jopt-simple" % "4.5"
libraryDependencies += "org.scalatest" % "scalatest_2.9.2" % "1.8" % "test"
libraryDependencies += "com.google.guava" % "guava" % "14.0.1"
unmanagedJars in Compile <++= baseDirectory map { base =>
val finder: PathFinder = (file("spark")) ** "*.jar"
finder.get
}
assemblySettings
test in assembly := {}
jarName in assembly := "perf-tests-assembly.jar"
mergeStrategy in assembly <<= (mergeStrategy in assembly) { (old) =>
{
case PathList("META-INF", xs @ _*) => MergeStrategy.discard
case PathList("reference.conf", xs @ _*) => MergeStrategy.concat
case PathList("application.conf", xs @ _*) => MergeStrategy.concat
case _ => MergeStrategy.first
}
}