Skip to content

Commit 9ed1690

Browse files
committed
Use latest semconv-incubating
1 parent e0cbfc9 commit 9ed1690

File tree

1 file changed

+6
-0
lines changed

1 file changed

+6
-0
lines changed

dependencyManagement/build.gradle.kts

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -76,6 +76,12 @@ javaPlatform {
7676

7777
dependencies {
7878
for (bom in DEPENDENCY_BOMS) {
79+
// this is needed until io.opentelemetry.instrumentation:opentelemetry-instrumentation-bom-alpha
80+
// is updated to contain the latest version of opentelemetry-semconv
81+
if (bom.equals("io.opentelemetry.instrumentation:opentelemetry-instrumentation-bom-alpha:${otelInstrumentationVersion}")) {
82+
api(platform(bom))
83+
continue
84+
}
7985
api(enforcedPlatform(bom))
8086
val split = bom.split(':')
8187
dependencyVersions[split[0]] = split[2]

0 commit comments

Comments
 (0)