-
Notifications
You must be signed in to change notification settings - Fork 13
/
build.sbt
48 lines (42 loc) · 1.71 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
import org.allenai.plugins.CoreRepositories.Licenses
lazy val buildSettings = Seq(
organization := "edu.stanford.hazy",
description := "An internal version of Tuffy downloaded from: http://i.stanford.edu/hazy/tuffy/download/",
publishMavenStyle := true,
publishArtifact in (Compile, packageDoc) := false, // to avoid "javadoc: error - invalid flag: -target"
licenses += Licenses.apache2,
homepage := Some(url("https://github.com/allenai/tuffylite")),
scmInfo := Some(ScmInfo(
url("https://github.com/allenai/tuffylite"),
"https://github.com/allenai/tuffylite.git")),
pomExtra := (
<developers>
<developer>
<id>allenai-dev-role</id>
<name>Allen Institute for Artificial Intelligence</name>
<email>dev-role@allenai.org</email>
</developer>
</developers>),
// TODO (colinarenz): When this is included in sbt-plugins, it can be removed.
bintrayOrganization := Some("allenai")
)
lazy val tuffy = Project(id = "tuffy-internal", base = file("."))
.settings(buildSettings)
.settings(PublishTo.ai2BintrayPublic)
resolvers ++= Seq(
"scala-tools.org" at "http://scala-tools.org/repo-releases",
"conjars" at "http://conjars.org/repo",
"apache.releases" at "https://repository.apache.org/content/repositories/releases"
)
libraryDependencies ++= Seq(
"args4j" % "args4j" % "2.0.16",
"junit" % "junit" % "4.11",
"org.antlr" % "antlr" % "3.2",
"org.apache.commons" % "commons-lang3" % "3.3",
"org.apache.commons" % "commons-math" % "2.2",
"org.postgresql" % "postgresql" % "9.3-1102-jdbc41",
"thirdparty" % "jgrapht-jdk1.6" % "0.8.2"
)
compileOrder := CompileOrder.JavaThenScala
javaOptions += "-Xmx4G"
scalacOptions ++= Seq("-Xlint", "-deprecation", "-feature")