Skip to content

Commit 79db038

Browse files
authored
Add opentelemetry-semconv-incubating to bom-alpha (#12266)
1 parent fdae6a0 commit 79db038

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

bom-alpha/build.gradle.kts

+3-1
Original file line numberDiff line numberDiff line change
@@ -20,7 +20,9 @@ dependencies {
2020
.find { it.group.equals("io.opentelemetry.semconv")
2121
&& it.name.equals("opentelemetry-semconv") }
2222
?: throw Exception("semconv constraint not found")
23-
otelBom.addExtra(semconvConstraint.group, semconvConstraint.name, semconvConstraint.version ?: throw Exception("missing version"))
23+
val semconvVersion = semconvConstraint.version ?: throw Exception("missing version")
24+
otelBom.addExtra(semconvConstraint.group, semconvConstraint.name, semconvVersion)
25+
otelBom.addExtra(semconvConstraint.group, "opentelemetry-semconv-incubating", semconvVersion)
2426
}
2527

2628
otelBom.projectFilter.set { it.findProperty("otel.stable") != "true" }

0 commit comments

Comments
 (0)