-
Notifications
You must be signed in to change notification settings - Fork 6
Expand file tree
/
Copy pathbuild.sbt
More file actions
35 lines (22 loc) · 1.08 KB
/
build.sbt
File metadata and controls
35 lines (22 loc) · 1.08 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
enablePlugins(org.nlogo.build.NetLogoExtension)
enablePlugins(org.nlogo.build.ExtensionDocumentationPlugin)
netLogoVersion := "6.0.2"
netLogoClassManager := "org.nlogo.py.PythonExtension"
netLogoExtName := "py"
netLogoZipSources := false
netLogoTarget := org.nlogo.build.NetLogoExtension.directoryTarget(baseDirectory.value / "py")
lazy val demoDir = baseDirectory(_ / "demos")
lazy val demoNames = List(
"Flocking Clusters.nlogo",
"Wolf Sheep Predation - Static 3D Plot.nlogo",
"Wolf Sheep Predation - Real-time 3D Plot.nlogo",
"Traffic Basic - Reinforcement.nlogo"
)
lazy val demoFiles = demoNames.map(n => demoDir(_ / n))
scalaVersion := "2.12.2"
scalaSource in Compile := baseDirectory.value / "src"
scalacOptions ++= Seq("-unchecked", "-deprecation", "-feature", "-Xfatal-warnings")
libraryDependencies += "org.json4s" %% "json4s-jackson" % "3.5.3"
netLogoPackageExtras += (baseDirectory(_ / "pyext.py").value, "pyext.py")
netLogoPackageExtras += (baseDirectory(_ / "tests.txt").value, "tests.txt")
netLogoPackageExtras ++= demoNames.map(n => (demoDir.value / n, s"demos/$n") )