forked from jflanigan/jamr
-
Notifications
You must be signed in to change notification settings - Fork 0
/
build.sbt
45 lines (28 loc) · 1007 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
40
41
42
43
44
45
import AssemblyKeys._
assemblySettings
name := "jamr"
version := "0.1-SNAPSHOT"
organization := "edu.cmu.lti.nlp"
scalaVersion := "2.10.3"
libraryDependencies ++= Seq(
"edu.stanford.nlp" % "stanford-corenlp" % "3.3.1",
"edu.stanford.nlp" % "stanford-corenlp" % "3.3.1" classifier "models"
// "org.scala-lang" % "scala-swing" % "2.10.3"
)
//scalaSource in compile := (baseDirectory in compile).value / "src"
scalaSource in Compile := baseDirectory.value / "src"
// Running JAMR via sbt:
fork in run := true // run in separate JVM than sbt
connectInput in run := true
outputStrategy in run := Some(StdoutOutput) // connect to stdin/stdout/stderr of sbt's process
logLevel in run := Level.Error // don't clutter stdout with [info]s
ivyLoggingLevel in run := UpdateLogging.Quiet
traceLevel in run := 0
javaOptions in run ++= Seq(
"-Xmx4g",
"-XX:MaxPermSize=256m",
"-ea",
"-Dfile.encoding=UTF-8",
"-XX:ParallelGCThreads=2"
)
mainClass := Some("edu.cmu.lti.nlp.amr.AMRParser")