-
Notifications
You must be signed in to change notification settings - Fork 2
/
Copy pathbuild.sbt
39 lines (26 loc) · 911 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
38
39
import AssemblyKeys._
assemblySettings
seq(com.github.retronym.SbtOneJar.oneJarSettings: _*)
name := "tacc-hadoop"
version := "0.0.3"
scalaVersion := "2.9.2"
resolvers ++= Seq(
"Sonatype-snapshots" at "http://oss.sonatype.org/content/repositories/snapshots",
"cloudera" at "https://repository.cloudera.com/content/repositories/releases",
"conjars" at "http://conjars.org/repo"
)
libraryDependencies += "com.twitter" % "scalding-core_2.9.2" % "0.8.6"
scalacOptions ++= Seq("-deprecation", "-Ydependent-method-types", "-optimize", "-unchecked")
jarName in assembly := "tacc-hadoop-assembly.jar"
mainClass in assembly := None
test in assembly := {}
mergeStrategy in assembly <<= (mergeStrategy in assembly) { (old) =>
{
case x => {
val oldstrat = old(x)
if (oldstrat == MergeStrategy.deduplicate) MergeStrategy.first
else oldstrat
}
}
}
mainClass in oneJar := None