-
Notifications
You must be signed in to change notification settings - Fork 168
/
build_scala_2_11_sbt
executable file
·49 lines (26 loc) · 1.24 KB
/
build_scala_2_11_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
name := "BIDMach"
version := "1.1.0"
organization := "edu.berkeley.bid"
scalaVersion := "2.11.2"
artifactName := { (sv: ScalaVersion, module: ModuleID, artifact: Artifact) =>
"../../BIDMach.jar"
}
resolvers ++= Seq(
"Scala Tools Snapshots" at "http://scala-tools.org/repo-snapshots/",
"Scala Mirror" at "https://oss.sonatype.org/content/repositories/releases/"
)
libraryDependencies <<= (scalaVersion, libraryDependencies) { (sv, deps) =>
deps :+ ("org.scala-lang" % "scala-compiler" % sv)
}
libraryDependencies += "jline" % "jline" % "2.11"
libraryDependencies += "org.apache.commons" % "commons-math3" % "3.2"
//libraryDependencies += "org.scalatest" %% "scalatest" % "2.0" % "test"
//libraryDependencies += "org.scalacheck" %% "scalacheck" % "1.11.2" % "test"
libraryDependencies += "junit" % "junit" % "4.5" % "test"
libraryDependencies += "net.jpountz.lz4" % "lz4" % "1.3"
//libraryDependencies += "org.scala-saddle" % "jhdf5" % "2.9"
credentials += Credentials(Path.userHome / ".ivy2" / ".credentials")
javacOptions ++= Seq("-source", "1.7", "-target", "1.7")
scalacOptions ++= Seq("-deprecation","-target:jvm-1.7")
initialCommands := scala.io.Source.fromFile("lib/bidmach_init.scala").getLines.mkString("\n")
javaOptions += "-Xmx12g"