-
Notifications
You must be signed in to change notification settings - Fork 0
/
build.sbt
43 lines (32 loc) · 1.15 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
import AssemblyKeys._
name := "bundle"
version := "0.1.0"
organization := "edu.berkeley.linguistics"
scalaVersion := "2.10.4"
libraryDependencies ++= Seq(
"net.sf.opencsv" % "opencsv" % "2.0",
"org.scalanlp" % "breeze-natives_2.10" % "0.7"
)
resolvers ++= Seq(
"Sonatype Snapshots" at "https://oss.sonatype.org/content/repositories/snapshots/",
"Sonatype Releases" at "https://oss.sonatype.org/content/repositories/releases/"
)
lazy val buildSettings = Seq(
version := "0.1.0",
organization := "edu.berkeley.linguistics",
scalaVersion := "2.10.4"
)
val app = (project in file("app")).
settings(buildSettings: _*).
settings(assemblySettings: _*)
mergeStrategy in assembly <<= (mergeStrategy in assembly) { (old) =>
{
case PathList("javax", "servlet", xs @ _*) => MergeStrategy.first
case PathList(ps @ _*) if ps.last endsWith ".html" => MergeStrategy.first
case "application.conf" => MergeStrategy.concat
case "META-INF/MANIFEST.MF" => MergeStrategy.discard
case x => MergeStrategy.first
// case x => old(x)
}
}
net.virtualvoid.sbt.graph.Plugin.graphSettings