Skip to content

Commit

Permalink
chore: Upgrade otel4s to 0.8.0 and skunk to 1.0.0-M7 (#123)
Browse files Browse the repository at this point in the history
  • Loading branch information
rlemaitre authored Jul 22, 2024
1 parent 969b48a commit a2b1e85
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 6 deletions.
4 changes: 2 additions & 2 deletions build.sbt
Original file line number Diff line number Diff line change
Expand Up @@ -30,7 +30,7 @@ inThisBuild(
licenses += (
"Apache-2.0",
url(
"http://www.apache.org/licenses/LICENSE-2.0"
"https://www.apache.org/licenses/LICENSE-2.0"
)
),
scalacOptions ++= ScalacOptions.tokensForVersion(
Expand Down Expand Up @@ -76,7 +76,7 @@ lazy val dbSkunk = Project("pillars-db-skunk", file("modules/db-skunk"))
.settings(
name := "pillars-db-skunk",
description := "pillars-db-skunk is a scala 3 library providing database services for writing backend applications using skunk",
libraryDependencies ++= Dependencies.database,
libraryDependencies ++= Dependencies.skunk,
buildInfoKeys := Seq[BuildInfoKey](name, version, description),
buildInfoPackage := "pillars.db.build"
)
Expand Down
9 changes: 5 additions & 4 deletions project/Dependencies.scala
Original file line number Diff line number Diff line change
Expand Up @@ -82,14 +82,14 @@ object Dependencies {
)

val observability: Seq[ModuleID] = Seq(
"org.typelevel" %% "otel4s-oteljava" % "0.6.0",
"org.typelevel" %% "otel4s-oteljava" % "0.8.0",
"io.opentelemetry" % "opentelemetry-exporter-otlp" % "1.40.0" % Runtime,
"io.opentelemetry" % "opentelemetry-sdk-extension-autoconfigure" % "1.40.0" % Runtime
)

val database: Seq[ModuleID] = Seq(
"org.tpolecat" %% "skunk-core" % "1.0.0-M6",
"org.tpolecat" %% "skunk-circe" % "1.0.0-M6"
val skunk: Seq[ModuleID] = Seq(
"org.tpolecat" %% "skunk-core" % "1.0.0-M7",
"org.tpolecat" %% "skunk-circe" % "1.0.0-M7"
) ++ tests

val doobie: Seq[ModuleID] = Seq(
Expand All @@ -116,6 +116,7 @@ object Dependencies {
val flags: Seq[ModuleID] = Seq(
"org.typelevel" %% "literally" % "1.2.0"
) ++ tests

val httpClient: Seq[ModuleID] = http4sClient ++ http4s ++ tests
val core: Seq[ModuleID] =
effect ++ json ++ tapir ++ http4s ++ http4sServer ++ model ++ commandLine ++ logging ++ observability ++ tests
Expand Down

0 comments on commit a2b1e85

Please sign in to comment.