-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy pathbuild.sbt
39 lines (37 loc) · 1.96 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
ThisBuild / organization := "io.latis-data"
ThisBuild / scalaVersion := "3.3.4"
val fs2DataVersion = "1.8.1"
val http4sVersion = "0.23.30"
val latisVersion = "792d62ed"
val latisHapiVersion = "d70da0a5"
lazy val root = (project in file("."))
.settings(
name := "hapi-server",
libraryDependencies ++= Seq(
"com.github.latis-data.latis3" %% "latis3-core" % latisVersion,
"com.github.latis-data.latis3" %% "latis3-service-interface" % latisVersion,
"com.github.latis-data.latis3" %% "latis3-server" % latisVersion,
"com.github.latis-data.latis3" %% "dap2-service-interface" % latisVersion,
"com.github.latis-data" % "latis3-hapi" % latisHapiVersion,
"org.http4s" %% "http4s-dsl" % http4sVersion % Provided,
"org.http4s" %% "http4s-circe" % http4sVersion,
"org.http4s" %% "http4s-scalatags" % "0.25.2",
"org.scalameta" %% "munit" % "1.0.3" % Test,
"org.typelevel" %% "munit-cats-effect" % "2.0.0" % Test,
"io.circe" %% "circe-generic" % "0.14.10",
// coursier only seems to include compile dependencies when
// building a standalone executable (see coursier/coursier#552)
"ch.qos.logback" % "logback-classic" % "1.3.14" % Test,
"org.gnieh" %% "fs2-data-json" % fs2DataVersion,
"org.gnieh" %% "fs2-data-json-circe" % fs2DataVersion
),
resolvers ++= Seq(
"Unidata" at "https://artifacts.unidata.ucar.edu/content/repositories/unidata-releases",
"jitpack" at "https://jitpack.io"
),
reStart / mainClass := Some("latis.server.Latis3Server"),
scalacOptions -= "-Xfatal-warnings",
scalacOptions += {
if (insideCI.value) "-Wconf:any:e" else "-Wconf:any:w"
}
)