Skip to content

Commit 093b210

Browse files
authored
Make opentelemetry-bom-alpha depend on opentelemetry-bom (#4755)
1 parent 5fee9b7 commit 093b210

File tree

1 file changed

+9
-1
lines changed

1 file changed

+9
-1
lines changed

bom-alpha/build.gradle.kts

+9-1
Original file line numberDiff line numberDiff line change
@@ -6,4 +6,12 @@ description = "OpenTelemetry Bill of Materials (Alpha)"
66
group = "io.opentelemetry"
77
base.archivesName.set("opentelemetry-bom-alpha")
88

9-
otelBom.projectFilter.set { it.findProperty("otel.release") == "alpha" }
9+
otelBom.projectFilter.set { it.findProperty("otel.release") == "alpha" }
10+
11+
// Required to place dependency on opentelemetry-bom
12+
javaPlatform.allowDependencies()
13+
14+
dependencies {
15+
// Add dependency on opentelemetry-bom to ensure synchronization between alpha and stable artifacts
16+
api(platform(project(":bom")))
17+
}

0 commit comments

Comments
 (0)