-
Notifications
You must be signed in to change notification settings - Fork 0
/
build.sbt
47 lines (41 loc) · 1.28 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
name := "vintage"
version := "0.0.1"
scalaVersion := "2.12.6"
val jvmOptions = Seq(
"-XX:+UseG1GC",
"-XX:MaxGCPauseMillis=200",
"-XX:+UseCompressedOops",
"-Xms1G",
"-Xmx7G",
"-Xss4m"
)
scalacOptions ++= Seq(
"-deprecation",
"-feature",
"-language:higherKinds",
"-language:implicitConversions",
"-language:postfixOps",
"-Xlint",
"-Xexperimental"
)
val log4jVersion = "2.11.0"
libraryDependencies ++= Seq(
"org.scala-lang" % "scala-reflect" % scalaVersion.value,
"com.google.guava" % "guava" % "25.0-jre",
"de.sfuhrm" % "saphir-hash-jca" % "3.0.3",
"com.typesafe.scala-logging" %% "scala-logging" % "3.9.0",
"com.lmax" % "disruptor" % "3.4.2",
"org.slf4j" % "slf4j-api" % "1.7.12",
"org.apache.logging.log4j" % "log4j-slf4j-impl" % log4jVersion,
"org.apache.logging.log4j" % "log4j-api" % log4jVersion,
"org.apache.logging.log4j" % "log4j-core" % log4jVersion,
"org.apache.logging.log4j" % "log4j-jul" % log4jVersion,
"com.fasterxml.jackson.dataformat" % "jackson-dataformat-yaml" % "2.5.0",
"io.spray" %% "spray-json" % "1.3.3",
"com.madgag.spongycastle" % "core" % "1.58.0.0"
)
javaOptions ++= jvmOptions ++ Seq(
"-Djava.util.logging.manager=org.apache.logging.log4j.jul.LogManager",
"-Dlog4j.configurationFile=conf/log4j2.yaml"
)
fork in run := true