-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathbuild.sbt
33 lines (29 loc) · 1.17 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
name := "IahxAnalyzer"
version := "2.0"
organization := "org.bireme"
scalaVersion := /*"3.4.2"*/ "3.5.0"
val luceneVersion = /*"9.10.0"*/ "9.7.0"//"9.11.1"
val scalaTestVersion = /*"3.2.18"*/ "3.2.19"
//val solrjVersion = "9.6.1"
libraryDependencies ++= Seq(
"org.apache.lucene" % "lucene-core" % luceneVersion,
"org.apache.lucene" % "lucene-analysis-common" % luceneVersion,
"org.apache.lucene" % "lucene-queryparser" % luceneVersion,
"org.apache.lucene" % "lucene-backward-codecs" % luceneVersion,
"org.scalactic" %% "scalactic" % scalaTestVersion,
"org.scalatest" %% "scalatest-flatspec" % scalaTestVersion % "test",
//"org.apache.solr" % "solr-solrj" % solrjVersion
)
assembly / assemblyMergeStrategy := {
case PathList("META-INF", _*) => MergeStrategy.discard
case _ => MergeStrategy.first
}
scalacOptions ++= Seq( // use ++= to add to existing options
"-encoding", "utf8", // if an option takes an arg, supply it on the same line
"-feature", // then put the next option on a new line for easy editing
"-language:implicitConversions",
"-language:existentials",
"-unchecked",
"-Werror",
"-deprecation"
)