Skip to content

Commit ff59550

Browse files
authored
Change enforcedPlatform to platform (#4334)
1 parent fd26eb2 commit ff59550

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

dependencyManagement/build.gradle.kts

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -84,7 +84,9 @@ javaPlatform {
8484

8585
dependencies {
8686
for (bom in DEPENDENCY_BOMS) {
87-
api(enforcedPlatform(bom))
87+
// using enforcedPlatform prevents us from using a newer version
88+
// of azure-monitor-opentelemetry-autoconfigure than is present in the azure SDK BOM
89+
api(platform(bom))
8890
val split = bom.split(':')
8991
dependencyVersions[split[0]] = split[2]
9092
}

0 commit comments

Comments
 (0)