-
Notifications
You must be signed in to change notification settings - Fork 0
/
build.sbt
29 lines (25 loc) · 828 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
lazy val root = (project in file(".")).
settings(
inThisBuild(List(
organization := "com.example",
scalaVersion := "3.2.1",
crossScalaVersions := Seq("2.13.6", "3.2.1")
)),
name := "scalatest-example"
)
libraryDependencies += "org.scalatest" %% "scalatest" % "3.2.9" % Test
// sentence splitter
libraryDependencies += "org.apache.opennlp" % "opennlp-tools" % "1.9.2"
libraryDependencies ++= {
CrossVersion.partialVersion(scalaVersion.value) match {
case Some((2, 13)) => Seq(
"org.scala-lang" % "scala-reflect" % scalaVersion.value,
"org.apache.spark" %% "spark-core" % "3.3.1",
"org.apache.spark" %% "spark-sql" % "3.3.1",
"org.apache.spark" %% "spark-mllib" % "3.3.1",
)
case _ => Seq.empty
}
}
// show deprecations
scalacOptions += "-deprecation"