-
Notifications
You must be signed in to change notification settings - Fork 2
/
build.sbt
57 lines (27 loc) · 1.22 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
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
scalaVersion := "2.9.1"
scalacOptions += "-deprecation"
scalacOptions += "-unchecked"
libraryDependencies += "org.scalatest" %% "scalatest" % "1.8" % "test"
libraryDependencies += "org.slf4j" % "slf4j-api" % "1.6.1"
libraryDependencies += "com.weiglewilczek.slf4s" %% "slf4s" % "1.0.7"
libraryDependencies ++= Seq("ch.qos.logback" % "logback-core" % "0.9.30", "ch.qos.logback" % "logback-classic" % "0.9.30")
//below options are for configuring the jvm
//todo: use a Seq to make this more readable
fork in run := true
javaOptions in run += "-verbosegc"
javaOptions in run += "-XX:+PrintGCDetails"
javaOptions in run += "-verbosegc"
javaOptions in run += "-Xloggc:gc.log"
//in the "run" version, profile the cpu. trying to find a way to get
//better depth in chess.
javaOptions in run += "-agentlib:hprof=cpu=times"
javaOptions in run += "-Xmx2G"
javaOptions in run += "-Xmn1G"
javaOptions in run += "-XX:MaxPermSize=256M"
javaOptions in console += "-verbosegc"
javaOptions in console += "-XX:+PrintGCDetails"
javaOptions in console += "-verbosegc"
javaOptions in console += "-Xloggc:gc.log"
javaOptions in console += "-Xmx2G"
javaOptions in console += "-Xmn1G"
javaOptions in console += "-XX:MaxPermSize=256M"