File tree Expand file tree Collapse file tree 1 file changed +8
-0
lines changed Expand file tree Collapse file tree 1 file changed +8
-0
lines changed Original file line number Diff line number Diff line change @@ -36,6 +36,8 @@ val CORE_DEPENDENCIES = listOf(
3636 " com.google.errorprone:error_prone_core:${errorProneVersion} " ,
3737 " io.github.netmikey.logunit:logunit-jul:2.0.0" ,
3838 " io.opentelemetry.proto:opentelemetry-proto:1.0.0-alpha" ,
39+ // these two constraints can be removed once the opentelemetry-instrumentation-bom-alpha
40+ // is updated to contain the latest version of opentelemetry-semconv
3941 " io.opentelemetry.semconv:opentelemetry-semconv:${semConvVersion} " ,
4042 " io.opentelemetry.semconv:opentelemetry-semconv-incubating:${semConvVersion} " ,
4143 " io.prometheus:simpleclient:${prometheusVersion} " ,
@@ -76,6 +78,12 @@ javaPlatform {
7678
7779dependencies {
7880 for (bom in DEPENDENCY_BOMS ) {
81+ // this is needed until io.opentelemetry.instrumentation:opentelemetry-instrumentation-bom-alpha
82+ // is updated to contain the latest version of opentelemetry-semconv
83+ if (bom.equals(" io.opentelemetry.instrumentation:opentelemetry-instrumentation-bom-alpha:${otelInstrumentationVersion} " )) {
84+ api(platform(bom))
85+ continue
86+ }
7987 api(enforcedPlatform(bom))
8088 val split = bom.split(' :' )
8189 dependencyVersions[split[0 ]] = split[2 ]
You can’t perform that action at this time.
0 commit comments