Skip to content

Commit

Permalink
Consume OTel version from BOM (#1003)
Browse files Browse the repository at this point in the history
## Goal

Make the versions consistent by pulling in the OTel BOM instead of referring to each version separately.
  • Loading branch information
bidetofevil authored Jun 28, 2024
2 parents 0aa95b3 + bb701d8 commit db67856
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 3 deletions.
1 change: 1 addition & 0 deletions embrace-android-sdk/build.gradle.kts
Original file line number Diff line number Diff line change
Expand Up @@ -71,6 +71,7 @@ kover {
}

dependencies {
implementation(platform(libs.opentelemetry.bom))
implementation(libs.lifecycle.common.java8)
implementation(libs.lifecycle.process)

Expand Down
7 changes: 4 additions & 3 deletions gradle/libs.versions.toml
Original file line number Diff line number Diff line change
Expand Up @@ -30,9 +30,10 @@ lifecycle-extensions = { group = "androidx.lifecycle", name = "lifecycle-extensi

moshi = { group = "com.squareup.moshi", name = "moshi", version.ref = "moshi" }
moshi-kotlin-codegen = { group = "com.squareup.moshi", name = "moshi-kotlin-codegen", version.ref = "moshi" }
opentelemetry-api = { group = "io.opentelemetry", name = "opentelemetry-api", version.ref = "openTelemetryCore" }
opentelemetry-sdk = { group = "io.opentelemetry", name = "opentelemetry-sdk", version.ref = "openTelemetryCore" }
opentelemetry-context = { group = "io.opentelemetry", name = "opentelemetry-context", version.ref = "openTelemetryCore" }
opentelemetry-bom = { group = "io.opentelemetry", name = "opentelemetry-bom", version.ref = "openTelemetryCore" }
opentelemetry-api = { group = "io.opentelemetry", name = "opentelemetry-api"}
opentelemetry-sdk = { group = "io.opentelemetry", name = "opentelemetry-sdk"}
opentelemetry-context = { group = "io.opentelemetry", name = "opentelemetry-context"}
opentelemetry-semconv = { group = "io.opentelemetry.semconv", name = "opentelemetry-semconv", version.ref = "openTelementrySemConv" }
opentelemetry-semconv-incubating = { group = "io.opentelemetry.semconv", name = "opentelemetry-semconv-incubating", version.ref = "openTelementrySemConv" }
mockk = { group = "io.mockk", name = "mockk", version.ref = "mockk" }
Expand Down

0 comments on commit db67856

Please sign in to comment.