Skip to content

Commit

Permalink
chore: Organize scalatest dependencies
Browse files Browse the repository at this point in the history
  • Loading branch information
NomadBlacky committed Jun 21, 2024
1 parent 38d754e commit 9321fed
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 3 deletions.
3 changes: 2 additions & 1 deletion build.sbt
Original file line number Diff line number Diff line change
Expand Up @@ -49,8 +49,9 @@ lazy val root = (project in file("."))
lazy val `scalatest-otel-reporter` = (project in file("scalatest-otel-reporter"))
.settings(
libraryDependencies ++= Seq(
scalatest % Provided,
scalatestCore % Provided,
otelSdk % Provided,
scalatest % Test,
wiremock % Test,
otelExporterOTLP % Test,
otelSemConv % Test,
Expand Down
6 changes: 4 additions & 2 deletions project/Dependencies.scala
Original file line number Diff line number Diff line change
Expand Up @@ -2,11 +2,13 @@ import sbt.*

object Dependencies {
private val v = new {
val otel = "1.39.0"
val scalatest = "3.2.18"
val otel = "1.39.0"
}

// scalatest
val scalatest = "org.scalatest" %% "scalatest" % "3.2.18"
val scalatest = "org.scalatest" %% "scalatest" % v.scalatest
val scalatestCore = "org.scalatest" %% "scalatest-core" % v.scalatest

// OpenTelemetry
val otelSdk = "io.opentelemetry" % "opentelemetry-sdk" % v.otel
Expand Down

0 comments on commit 9321fed

Please sign in to comment.