-
Notifications
You must be signed in to change notification settings - Fork 73
/
Copy pathDependencies.scala
78 lines (66 loc) · 2.62 KB
/
Dependencies.scala
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
67
68
69
70
71
72
73
74
75
76
77
78
/*
* Licensed to the Apache Software Foundation (ASF) under one or more
* contributor license agreements. See the NOTICE file distributed with
* this work for additional information regarding copyright ownership.
* The ASF licenses this file to You under the Apache License, Version 2.0
* (the "License"); you may not use this file except in compliance with
* the License. You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
*/
import sbt.*
import sbtunidoc.GenJavadocPlugin.autoImport.unidocGenjavadocVersion
object Dependencies {
lazy val common = core ++ infoset ++ test
lazy val core = Seq(
"com.lihaoyi" %% "os-lib" % "0.11.3", // for writing/compiling C source files
"org.scala-lang.modules" %% "scala-xml" % "2.3.0",
"org.scala-lang.modules" %% "scala-parser-combinators" % "2.4.0",
"com.ibm.icu" % "icu4j" % "76.1",
"xerces" % "xercesImpl" % "2.12.2",
"xml-resolver" % "xml-resolver" % "1.2",
"commons-io" % "commons-io" % "2.19.0",
"com.typesafe" % "config" % "1.4.3",
"com.typesafe.scala-logging" %% "scala-logging" % "3.9.5"
)
lazy val slf4jAPI = Seq(
"org.slf4j" % "slf4j-api" % "2.0.16"
)
lazy val infoset = Seq(
"org.jdom" % "jdom2" % "2.0.6.1",
"com.fasterxml.woodstox" % "woodstox-core" % "7.1.0",
"com.fasterxml.jackson.core" % "jackson-core" % "2.16.1"
)
lazy val cli = Seq(
"org.jline" % "jline" % "3.28.0",
"org.rogach" %% "scallop" % "5.2.0",
"net.sf.expectit" % "expectit-core" % "0.9.0" % "test"
)
lazy val junit = Seq(
"junit" % "junit" % "4.13.2"
)
lazy val test = Seq(
"junit" % "junit" % "4.13.2" % "test",
"com.github.sbt" % "junit-interface" % "0.13.3" % "test",
"org.scalacheck" %% "scalacheck" % "1.18.1" % "test"
)
lazy val schematron = Seq(
"net.sf.saxon" % "Saxon-HE" % "12.5"
)
lazy val exi = Seq(
"com.siemens.ct.exi" % "exificient" % "1.0.7"
)
lazy val genjavadocVersion = {
// Scala Steward may try to update this version to include the Scala version,
// for example 0.18_2.12.15. This is incorrect because the unidoc plugin uses
// crossVersion to figure out the Scala version. This should be set to just the
// version of the genjavadoc plugin, without the Scala version.
unidocGenjavadocVersion := "0.19"
}
}