-
Notifications
You must be signed in to change notification settings - Fork 5
/
build.sbt
53 lines (38 loc) · 1.68 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
import org.clulab.sbt.BuildUtils
name := "habitus"
organization := "org.clulab"
scalaVersion := "2.12.15"
lazy val core: Project = (project in file("."))
.dependsOn(elasticsearch, sql)
.enablePlugins(JavaAppPackaging, DockerPlugin)
// NOTE: The scraper requires Java 11+ to run!
lazy val scraper = project
lazy val elasticsearch = project
lazy val sql = project
pomIncludeRepository := { (repo: MavenRepository) =>
repo.root.startsWith("https://artifactory.clulab.org")
}
// for processors-models
resolvers += "clulab" at "https://artifactory.clulab.org/artifactory/sbt-release"
// for ontologies related to eidos
resolvers += "jitpack" at "https://jitpack.io"
libraryDependencies ++= {
val luceneVer = "6.6.6"
Seq(
"ai.lum" %% "odinson-core" % "0.4.0",
"io.github.zamblauskas" %% "scala-csv-parser" % "0.13.1",
"org.clulab" %% "eidos" % BuildUtils.eidosVer,
"org.clulab" %% "processors-corenlp" % BuildUtils.procVer,
"org.clulab" %% "processors-main" % BuildUtils.procVer,
"org.clulab" %% "processors-openie" % BuildUtils.procVer,
"org.apache.lucene" % "lucene-core" % luceneVer,
"org.apache.lucene" % "lucene-analyzers-common" % luceneVer,
"org.apache.lucene" % "lucene-queryparser" % luceneVer,
"org.scalatest" %% "scalatest" % "3.0.5" % "test"
)
}
addCommandAlias("dockerize", ";compile;test;docker:publishLocal")
// This with true seems to help with Ctrl+C processing.
// run / fork := true
// However, it has the side-effect of causing the BeliefShell to fall through and exit.
run / fork := false