-
Notifications
You must be signed in to change notification settings - Fork 0
/
build.sbt
executable file
·53 lines (40 loc) · 1.82 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
import AssemblyKeys._
assemblySettings
/** Project */
name := "fox"
version := "1.1-SNAPSHOT"
organization := "com.signalcollect"
scalaVersion := "2.11.7"
/**
* See https://github.com/rwl/ParallelColt/issues/6 and
* https://github.com/sbt/sbt-assembly/issues/123
*/
mergeStrategy in assembly <<= (mergeStrategy in assembly) { (old) =>
{
case PathList("edu", "emory", "mathcs", "utils", xs @ _*) => MergeStrategy.first
case PathList(ps @ _*) if ps.last == ".DS_Store" => MergeStrategy.discard
case other => old(other)
}
}
scalacOptions ++= Seq("-optimize", "-Ydelambdafy:inline", "-Yclosure-elim", "-Yinline-warnings", "-Ywarn-adapted-args", "-Ywarn-inaccessible", "-feature", "-deprecation", "-Xelide-below", "INFO")
parallelExecution in Test := false
EclipseKeys.createSrc := EclipseCreateSrc.Default + EclipseCreateSrc.Resource
EclipseKeys.withSource := true
test in assembly := {}
parallelExecution in Test := false
resolvers += "PSL third party dependencies" at "https://scm.umiacs.umd.edu/maven/lccd/content/repositories/psl-thirdparty/"
libraryDependencies ++= Seq(
"com.signalcollect" %% "signal-collect" % "5.0.2" % "compile",
"org.scala-lang" % "scala-library" % scalaVersion.value % "compile",
"org.scala-lang" % "scala-reflect" % scalaVersion.value % "compile",
"commons-lang" % "commons-lang" % "2.6" % "compile",
"edu.emory.mathcs" % "parallelcolt" % "0.9.4" % "compile",
"edu.emory.mathcs" % "jplasma" % "1.2" % "compile",
"net.sourceforge.jtransforms" % "jtransforms" % "2.4.0" % "compile",
"org.scalanlp" %% "breeze" % "0.10" % "compile",
"org.scalanlp" %% "breeze-natives" % "0.10" % "compile",
"org.slf4j" % "slf4j-api" % "1.7.7" % "compile",
"org.slf4j" % "slf4j-simple" % "1.7.7" % "compile",
"junit" % "junit" % "4.8.2" % "test",
"org.scalatest" %% "scalatest" % "2.2.5" % "test"
)