-
Notifications
You must be signed in to change notification settings - Fork 12
/
build.sbt
66 lines (57 loc) · 2.31 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
54
55
56
57
58
59
60
61
62
63
64
65
66
organization := "org.clulab"
name := "timenorm"
version := "1.0.5"
scalaVersion := "2.12.8"
crossScalaVersions := List("2.11.12", "2.12.8", "2.13.0")
scalacOptions := Seq("-unchecked") // , "-deprecation") // Check Scala 2.13 periodically.
libraryDependencies ++= {
val luceneVer = "6.6.6"
Seq(
"org.tensorflow" % "tensorflow" % "1.12.0",
"org.clulab" % "timenorm-models" % "0.9.2",
"commons-io" % "commons-io" % "2.6",
"org.scala-lang.modules" %% "scala-xml" % "1.2.0",
"com.typesafe.play" %% "play-json" % "2.7.4",
"org.scalatest" %% "scalatest" % "3.0.8" % Test,
"com.lexicalscope.jewelcli" % "jewelcli" % "0.8.9" % Test,
"org.timen" % "timen" % "1.0.8" % Test,
)
}
mainClass in (Compile, packageBin) := Some("org.clulab.timenorm.scate.TemporalNeuralParser")
// needed or tensorflow fails with "Cannot register 2 metrics with the same name"
Test / fork := true
// Additional metadata required by Sonatype OSS
// https://www.scala-sbt.org/1.x/docs/Using-Sonatype.html
organizationName := "computational language understanding lab"
organizationHomepage := Some(url("http://clulab.org/"))
scmInfo := Some(
ScmInfo(
url("https://github.com/clulab/timenorm/"),
"scm:[email protected]:clulab/timenorm.git"
)
)
developers := List(
Developer(
id = "bethard",
name = "Steven Bethard",
email = "[email protected]",
url = url("https://bethard.faculty.arizona.edu/")
),
Developer(
id = "EgoLaparra",
name = "Egoitz Laparra",
email = "[email protected]",
url = url("http://clulab.cs.arizona.edu/people.php")
),
)
description := "Find and converts natural language expressions of dates and times to their normalized form."
licenses := List("Apache 2" -> new URL("http://www.apache.org/licenses/LICENSE-2.0.txt"))
homepage := Some(url("https://github.com/example/project"))
// Remove all additional repository other than Maven Central from POM
pomIncludeRepository := { _ => false }
publishTo := {
val nexus = "https://oss.sonatype.org/"
if (isSnapshot.value) Some("snapshots" at nexus + "content/repositories/snapshots")
else Some("releases" at nexus + "service/local/staging/deploy/maven2")
}
publishMavenStyle := true