-
Notifications
You must be signed in to change notification settings - Fork 1
/
build.sbt
39 lines (28 loc) · 931 Bytes
/
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
scalaVersion := "2.12.3"
javaOptions += "-Djava.library.path=./lib"
Seq(lwjglSettings: _*)
resolvers ++= Seq("snapshots", "releases").map(Resolver.sonatypeRepo)
classpathTypes += "maven-plugin" // for javacpp?
lwjgl.version := "2.9.3" // newer than in plugin
libraryDependencies ++= Seq(
//"org.bytedeco" % "javacv" % "0.9",
//"org.bytedeco" % "javacpp" % "0.9", // TODO exclude a bunch of stuff
//"org.bytedeco.javacpp-presets" % "opencv" % "2.4.9-0.9" classifier "" classifier "linux-x86_64",
"org.l33tlabs.twl" % "pngdecoder" % "1.0",
"org.scream3r" % "jssc" % "2.8.0",
"javazoom" % "jlayer" % "1.0.1"
)
fork := true
javaOptions ++= Seq(
"-Xmx4G",
"-XX:MaxGCPauseMillis=16"
)
scalacOptions += "-opt:l:inline"
initialCommands := """
import java.io.File
import math._
import org.ljudmila._
import org.ljudmila.liminoid._
import Utils._
"""
watchSources += baseDirectory.value / "Settings.txt"