-
Notifications
You must be signed in to change notification settings - Fork 0
/
build.sbt
45 lines (27 loc) · 1.24 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
name := "chess-challenge"
organization := "tech.olczak"
version := "0.1-SNAPSHOT"
scalaVersion := "2.11.7"
resolvers += "Tim Tennant's repo" at "http://dl.bintray.com/timt/repo/"
resolvers += "bintray/non" at "http://dl.bintray.com/non/maven"
resolvers += "Sonatype OSS Snapshots" at "https://oss.sonatype.org/content/repositories/snapshots"
addCompilerPlugin("org.spire-math" %% "kind-projector" % "0.7.1")
val scalaz = Seq (
"org.scalaz" %% "scalaz-core" % "7.2.0",
"org.scalaz" %% "scalaz-concurrent" % "7.2.0"
)
val testLibs = Seq(
"org.scalatest" %% "scalatest" % "2.2.2" % Test,
"org.scalacheck" %% "scalacheck" % "1.11.6" % Test,
"org.mockito" % "mockito-all" % "1.10.19" % Test,
"com.storm-enroute" %% "scalameter" % "0.6" % Test
)
libraryDependencies ++= scalaz ++ testLibs
publishMavenStyle := true
publishArtifact in Test := false
pomIncludeRepository := { _ => false }
mainClass in (Compile,run) := Some("tech.olczak.chesschallenge.ChessChallengeApp")
scalacOptions ++= Seq("-optimise", "-target:jvm-1.8")
fork in run := true
javacOptions ++= Seq("-source", "1.8", "-target", "1.8", "-Xlint")
javaOptions in run ++= Seq("-Xms6g", "-Xmx8g", "-XX:MaxNewSize=4g", "-XX:+UseParallelGC", "-XX:+UseParallelOldGC", "-XX:MaxNewSize=3g")