-
Notifications
You must be signed in to change notification settings - Fork 0
/
build.sbt
96 lines (88 loc) · 5.62 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
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
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
lazy val Scala3 = "3.4.2"
Global / scalaVersion := Scala3
Global / onChangedBuildSource := ReloadOnSourceChanges
ThisBuild / version := "0.0.1"
ThisBuild / testFrameworks += new TestFramework("munit.Framework")
ThisBuild / organization := "xyz.didx"
ThisBuild / organizationName := "DIDx"
ThisBuild / organizationHomepage := Some(url("https://www.didx.co.za/"))
ThisBuild / githubOwner := "didx-xyz"
ThisBuild / githubRepository := "dawn-market"
githubTokenSource := TokenSource.GitConfig("github.token") || TokenSource.Environment(
"GITHUB_TOKEN"
)
lazy val root = project
.in(file("."))
.settings(
commonSettings,
scalafixSettings
)
lazy val castanetVersion = "0.1.11"
lazy val catsEffectVersion = "3.5.5"
lazy val circeVersion = "0.14.2"
lazy val http4sVersion = "0.23.29"
lazy val http4sBlazeVersion = "0.23.16"
lazy val logbackVersion = "1.5.6"
lazy val munitVersion = "1.0.0"
lazy val munitCEVersion = "2.0.0"
lazy val pureconfigVersion = "0.17.7"
lazy val scalaTestVersion = "3.2.19"
lazy val slf4jVersion = "2.0.15"
lazy val sttpVersion = "3.9.7"
lazy val tapirVersion = "1.9.1"
lazy val commonSettings = Seq(
resolvers ++= Seq(
Resolver.mavenLocal,
"github" at "https://maven.pkg.github.com/didx-xyz",
"jitpack" at "https://jitpack.io",
"snapshots" at "https://oss.sonatype.org/content/repositories/snapshots",
"releases" at "https://oss.sonatype.org/content/repositories/releases"
),
libraryDependencies ++= Seq(
"xyz.didx" %% "castanet" % castanetVersion,
"org.typelevel" %% "cats-effect" % catsEffectVersion,
"io.circe" %% "circe-core" % circeVersion,
"io.circe" %% "circe-parser" % circeVersion,
"io.circe" %% "circe-generic" % circeVersion,
"com.github.pureconfig" %% "pureconfig-core" % pureconfigVersion,
"com.github.pureconfig" %% "pureconfig-cats-effect" % pureconfigVersion,
"com.softwaremill.sttp.client3" %% "core" % sttpVersion,
"com.softwaremill.sttp.client3" %% "circe" % sttpVersion,
"com.softwaremill.sttp.client3" %% "async-http-client-backend-cats" % sttpVersion,
"com.softwaremill.sttp.tapir" %% "tapir-http4s-server" % tapirVersion,
"com.softwaremill.sttp.tapir" %% "tapir-json-circe" % tapirVersion,
"com.softwaremill.sttp.tapir" %% "tapir-swagger-ui-bundle" % tapirVersion,
"ch.qos.logback" % "logback-classic" % logbackVersion,
"com.github.geirolz" %% "erules-core" % "0.1.2",
"org.http4s" %% "http4s-blaze-server" % http4sBlazeVersion,
"org.http4s" %% "http4s-dsl" % http4sVersion,
"org.http4s" %% "http4s-ember-server" % http4sVersion,
"org.slf4j" % "slf4j-nop" % slf4jVersion
) ++ Seq(
"xyz.didx" %% "castanet" % castanetVersion % Test,
"org.scalatest" %% "scalatest" % scalaTestVersion % Test,
"org.typelevel" %% "cats-effect" % catsEffectVersion % Test,
"io.circe" %% "circe-core" % circeVersion % Test,
"io.circe" %% "circe-parser" % circeVersion % Test,
"io.circe" %% "circe-generic" % circeVersion % Test,
"com.github.pureconfig" %% "pureconfig-core" % pureconfigVersion % Test,
"com.github.pureconfig" %% "pureconfig-cats-effect" % pureconfigVersion % Test,
"com.softwaremill.sttp.client3" %% "circe" % sttpVersion % Test,
"com.softwaremill.sttp.client3" %% "core" % sttpVersion % Test,
"com.softwaremill.sttp.client3" %% "async-http-client-backend-cats" % sttpVersion % Test,
"com.softwaremill.sttp.tapir" %% "tapir-http4s-server" % tapirVersion % Test,
"com.softwaremill.sttp.tapir" %% "tapir-json-circe" % tapirVersion % Test,
"com.softwaremill.sttp.tapir" %% "tapir-sttp-stub-server" % tapirVersion % Test,
"com.softwaremill.sttp.tapir" %% "tapir-swagger-ui-bundle" % tapirVersion % Test,
"ch.qos.logback" % "logback-classic" % logbackVersion % Test,
"com.github.geirolz" %% "erules-core" % "0.1.2" % Test,
"org.http4s" %% "http4s-blaze-server" % http4sBlazeVersion % Test,
"org.http4s" %% "http4s-dsl" % http4sVersion % Test,
"org.http4s" %% "http4s-ember-server" % http4sVersion % Test,
"org.slf4j" % "slf4j-nop" % slf4jVersion % Test,
"org.scalameta" %% "munit" % munitVersion % Test,
"org.scalameta" %% "munit-scalacheck" % munitVersion % Test,
"org.typelevel" %% "munit-cats-effect" % munitCEVersion % Test
)
)
lazy val scalafixSettings = Seq(semanticdbEnabled := true)