-
Notifications
You must be signed in to change notification settings - Fork 0
/
build.sbt
43 lines (39 loc) · 2.16 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
40
41
42
43
import org.scalafmt.sbt.ScalafmtPlugin.autoImport.scalafmtOnCompile
inThisBuild(List(
organization := "io.github.juliano",
homepage := Some(url("https://github.com/juliano/pokeapi-scala")),
licenses := List("MIT License" -> url("https://github.com/juliano/pokeapi-scala/blob/main/LICENSE")),
developers := List(
Developer("juliano", "Juliano Alves", "[email protected]", url("https://juliano-alves.com/"))
)
))
sonatypeCredentialHost := "s01.oss.sonatype.org"
sonatypeRepository := "https://s01.oss.sonatype.org/service/local"
val scala3Version = "3.3.1"
lazy val pokeapi = project
.in(file("."))
.settings(
name := "pokeapi-scala",
scalaVersion := scala3Version,
scalafmtOnCompile := true,
scalacOptions := Seq("-Xmax-inlines", "64"),
libraryDependencies ++= Seq(
"com.softwaremill.sttp.client3" %% "core" % "3.9.3",
"com.softwaremill.sttp.client3" %% "zio-json" % "3.9.3",
"com.github.blemale" %% "scaffeine" % "5.2.1",
"org.scalameta" %% "munit" % "1.0.0-M11" % Test,
"com.softwaremill.sttp.client3" %% "armeria-backend-cats" % "3.9.3" % Test,
"com.softwaremill.sttp.client3" %% "async-http-client-backend-cats" % "3.9.3" % Test,
"com.softwaremill.sttp.client3" %% "fs2" % "3.9.3" % Test,
"com.softwaremill.sttp.client3" %% "async-http-client-backend-fs2" % "3.9.3" % Test,
"com.softwaremill.sttp.client3" %% "zio" % "3.9.3" % Test,
"com.softwaremill.sttp.client3" %% "async-http-client-backend-zio" % "3.9.3" % Test,
"com.softwaremill.sttp.client3" %% "armeria-backend-zio" % "3.9.3" % Test,
"com.softwaremill.sttp.client3" %% "armeria-backend" % "3.9.3" % Test,
"com.softwaremill.sttp.client3" %% "okhttp-backend" % "3.9.3" % Test
),
excludeDependencies ++= Seq(
"org.scala-lang.modules" % "scala-collection-compat_2.13"
),
licenses += ("MIT", url("http://opensource.org/licenses/MIT"))
)