forked from NetLogo/models
-
Notifications
You must be signed in to change notification settings - Fork 0
/
build.sbt
35 lines (29 loc) · 1.17 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
scalaVersion := "2.11.8"
scalacOptions ++= Seq("-feature", "-unchecked", "-deprecation")
resolvers += "Typesafe Repo" at "http://repo.typesafe.com/typesafe/releases/"
javaOptions ++= Seq(
"-Dorg.nlogo.is3d=" + Option(System.getProperty("org.nlogo.is3d")).getOrElse("false"),
"-Dnetlogo.extensions.dir=" + (baseDirectory in netLogo).value.getParentFile.getPath + "/extensions/",
"-Dcom.sun.media.jai.disableMediaLib=true", // see https://github.com/NetLogo/GIS-Extension/issues/4
"-Xmx4G" // extra memory to work around https://github.com/travis-ci/travis-ci/issues/3775
)
fork := true
libraryDependencies ++= Seq(
"org.scalatest" %% "scalatest" % "2.2.6" % Test,
"commons-io" % "commons-io" % "2.4",
"commons-validator" % "commons-validator" % "1.4.1",
"com.typesafe.play" %% "play-ws" % "2.3.8",
"com.github.wookietreiber" %% "scala-chart" % "0.4.2",
"org.jfree" % "jfreesvg" % "3.0",
"org.scalactic" % "scalactic_2.11" % "2.2.6"
)
(test in Test) <<= (test in Test) dependsOn {
Def.task {
EvaluateTask(
buildStructure.value,
extensionsKey,
state.value,
buildStructure.value.allProjectRefs.find(_.project.contains("netlogo")).get
)
}
}