-
Notifications
You must be signed in to change notification settings - Fork 1
/
build.sbt
38 lines (32 loc) · 901 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
30
31
32
33
34
35
36
37
38
import Dependencies._
name := "hkwget"
organization := "org.bitnot"
version := "0.0.2"
scalaVersion := "3.0.0-M3"
//crossScalaVersions ++= Seq("2.13.4", "3.0.0-M3")
scalacOptions ++= {
if (isDotty.value) Seq(
"-Xfatal-warnings",
"-deprecation",
"-feature",
"-unchecked")
else Seq.empty
}
resolvers ++= Seq(
DefaultMavenRepository,
Resolver.typesafeIvyRepo("releases"),
Resolver.typesafeIvyRepo("snapshots"),
Resolver.sonatypeRepo("releases"),
Resolver.sonatypeRepo("snapshots")
)
libraryDependencies ++= circe
libraryDependencies ++= commonDeps
libraryDependencies ++= logging
libraryDependencies ++= resilience4j
libraryDependencies ++= sttp
.map(_.withDottyCompat(scalaVersion.value))
.map(_.excludeAll(
ExclusionRule(organization = "io.circe"),
ExclusionRule(organization = "org.typelevel"))
)
libraryDependencies ++= Seq(scalaTest) map (_ % Test)