forked from twitter/scalding
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathbuild.sbt
48 lines (30 loc) · 1.35 KB
/
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
38
39
40
41
42
43
44
45
46
47
48
import AssemblyKeys._
name := "scalding"
version := "0.7.2"
organization := "com.twitter"
scalaVersion := "2.8.1"
resolvers += "Concurrent Maven Repo" at "http://conjars.org/repo"
libraryDependencies += "cascading" % "cascading-core" % "2.0.2"
libraryDependencies += "cascading" % "cascading-local" % "2.0.2"
libraryDependencies += "cascading" % "cascading-hadoop" % "2.0.2"
libraryDependencies += "cascading.kryo" % "cascading.kryo" % "0.4.3"
libraryDependencies += "com.twitter" % "meat-locker" % "0.3.0"
libraryDependencies += "com.twitter" % "maple" % "0.2.2"
libraryDependencies += "commons-lang" % "commons-lang" % "2.4"
libraryDependencies += "org.scala-tools.testing" % "specs_2.8.1" % "1.6.6" % "test"
parallelExecution in Test := false
seq(assemblySettings: _*)
// Uncomment if you don't want to run all the tests before building assembly
// test in assembly := {}
// Janino includes a broken signature, and is not needed:
excludedJars in assembly <<= (fullClasspath in assembly) map { cp =>
val excludes = Set("jsp-api-2.1-6.1.14.jar", "jsp-2.1-6.1.14.jar",
"jasper-compiler-5.5.12.jar", "janino-2.5.16.jar")
cp filter { jar => excludes(jar.data.getName)}
}
// Some of these files have duplicates, let's ignore:
mergeStrategy in assembly <<= (mergeStrategy in assembly) { (old) =>
{
case _ => MergeStrategy.last // leiningen build files
}
}