forked from BIDData/BIDMat
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathbuild.sbt
More file actions
executable file
·48 lines (29 loc) · 1.19 KB
/
build.sbt
File metadata and controls
executable file
·48 lines (29 loc) · 1.19 KB
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
name := "BIDMat"
version := "0.1.0"
organization := "edu.berkeley.bid"
scalaVersion := "2.9.1"
resolvers ++= Seq(
"Scala Tools Snapshots" at "http://scala-tools.org/repo-snapshots/"
)
libraryDependencies <<= (scalaVersion, libraryDependencies) { (sv, deps) =>
deps :+ ("org.scala-lang" % "scala-compiler" % sv)
}
libraryDependencies += "org.scala-lang" % "jline" % "2.9.1"
libraryDependencies += "org.scalatest" %% "scalatest" % "1.8" % "test"
libraryDependencies += "org.scala-tools.testing" %% "scalacheck" % "1.9" % "test"
libraryDependencies += "junit" % "junit" % "4.5" % "test"
credentials += Credentials(Path.userHome / ".ivy2" / ".credentials")
javacOptions ++= Seq("-source", "1.5", "-target", "1.5")
scalacOptions ++= Seq("-deprecation","-target:jvm-1.5")
initialCommands := scala.io.Source.fromFile("lib/bidmat_init.scala").getLines.mkString("\n")
javaOptions += "-Xmx12g"
seq(ProguardPlugin.proguardSettings :_*)
proguardOptions ++= Seq (
"-keep class scala.** { *; }",
"-keep class org.jfree.** { *; }",
keepMain("scala.tools.nsc.MainGenericRunner"),
keepLimitedSerializability,
keepAllScala,
"-keep class ch.epfl.** { *; }",
"-keep interface scala.ScalaObject"
)