forked from raptros/tr-corpus-one
-
Notifications
You must be signed in to change notification settings - Fork 0
/
build.sbt
63 lines (41 loc) · 1.74 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
import AssemblyKeys._
assemblySettings
seq(com.github.retronym.SbtOneJar.oneJarSettings: _*)
//import com.typesafe.sbt.SbtStartScript
//SbtStartScript.StartScriptKeys.startScriptFile <<= (target) { (target) => target / "dostart" }
//seq(SbtStartScript.startScriptForJarSettings: _*)
name := "tr-corpus-one"
version := "0.1"
scalaVersion := "2.9.2"
resolvers += "Virtual-Void repository" at "http://mvn.virtual-void.net"
addCompilerPlugin("net.virtualvoid" % "scala-enhanced-strings_2.9.1" % "0.5.2")
resolvers ++= Seq(
"Sonatype-snapshots" at "http://oss.sonatype.org/content/repositories/snapshots",
"cloudera" at "https://repository.cloudera.com/content/repositories/releases",
"apache" at "https://repository.apache.org/content/repositories/releases",
"scoobi" at "http://nicta.github.com/scoobi/releases",
"gwtwiki" at "http://gwtwiki.googlecode.com/svn/maven-repository/"
)
libraryDependencies ++= Seq(
"edu.umd" % "cloud9" % "1.3.5",
"info.bliki.wiki" % "bliki-core" % "3.0.16",
"commons-lang" % "commons-lang" % "2.6"
)
//libraryDependencies += "scala-logic" %% "scala-logic" % "0.0.1-SNAPSHOT"
//libraryDependencies += "com.nicta" %% "scoobi" % "0.6.1-cdh4"
//libraryDependencies += "mln-semantics" %% "mln-semantics" % "1.0.1-SNAPSHOT"
libraryDependencies += "org.scalaz" %% "scalaz-core" % "7.0.0-M3"
scalacOptions ++= Seq("-deprecation", "-Ydependent-method-types", "-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