forked from twitter/scalding
-
Notifications
You must be signed in to change notification settings - Fork 0
/
build.sbt
68 lines (45 loc) · 2.04 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
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
import AssemblyKeys._
name := "scalding"
version := "0.8.1-SNAPSHOT"
organization := "com.twitter"
scalaVersion := "2.9.2"
scalacOptions ++= Seq("-unchecked", "-deprecation")
resolvers += "Concurrent Maven Repo" at "http://conjars.org/repo"
// Use ScalaCheck
resolvers ++= Seq(
"snapshots" at "http://oss.sonatype.org/content/repositories/snapshots",
"releases" at "http://oss.sonatype.org/content/repositories/releases"
)
//resolvers += "Twitter Artifactory" at "http://artifactory.local.twitter.com/libs-releases-local"
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.5"
libraryDependencies += "com.twitter" % "meat-locker" % "0.3.1"
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"
libraryDependencies += "com.joestelmach" % "natty" % "0.7"
libraryDependencies ++= Seq(
"org.scalacheck" %% "scalacheck" % "1.10.0" % "test",
"org.scala-tools.testing" % "specs_2.9.0-1" % "1.6.8" % "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 s if s.endsWith(".class") => MergeStrategy.last
case s if s.endsWith("project.clj") => MergeStrategy.concat
case s if s.endsWith(".html") => MergeStrategy.last
case x => old(x)
}
}