Skip to content

Commit 2198fef

Browse files
committed
Add opentelemetry-semconv-incubating to bom-alpha
1 parent 0d39edc commit 2198fef

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

bom-alpha/build.gradle.kts

Lines changed: 3 additions & 1 deletion
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)