-
Notifications
You must be signed in to change notification settings - Fork 1
Expand file tree
/
Copy pathbuild.sbt
More file actions
46 lines (40 loc) · 1.28 KB
/
build.sbt
File metadata and controls
46 lines (40 loc) · 1.28 KB
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
import Dependencies._
ThisBuild / organization := "com.northstarr"
ThisBuild / scalaVersion := "2.13.8"
lazy val `alist-api` =
project
.in(file("."))
.settings(name := "alist-api")
.settings(commonSettings)
.settings(dependencies)
lazy val commonSettings = commonScalacOptions ++ Seq(
update / evictionWarningOptions := EvictionWarningOptions.empty
)
lazy val commonScalacOptions = Seq(
Compile / console / scalacOptions --= Seq(
"-Wunused:_",
"-Xfatal-warnings",
),
Test / console / scalacOptions :=
(Compile / console / scalacOptions).value,
)
val ZHTTPVersion = "1.0.0.0-RC25"
val loggingVersion = "0.5.1"
lazy val dependencies = Seq(
libraryDependencies ++= Seq(
"dev.zio" %% "zio" % "1.0.13",
"dev.zio" %% "zio-interop-cats" % "2.1.4.0",
"io.d11" %% "zhttp" % ZHTTPVersion,
"io.d11" %% "zhttp-test" % ZHTTPVersion % Test,
"io.scalac" %% "zio-slick-interop" % "0.4",
"com.typesafe.slick" %% "slick-hikaricp" % "3.3.3",
"com.h2database" % "h2" % "1.4.200",
"dev.zio" %% "zio-logging" % loggingVersion,
"dev.zio" %% "zio-logging-slf4j" % loggingVersion,
"dev.zio" %% "zio-json" % "0.1.5"
),
libraryDependencies ++= Seq(
org.scalatest.scalatest,
org.scalatestplus.`scalacheck-1-15`,
).map(_ % Test),
)