File tree Expand file tree Collapse file tree 2 files changed +2
-2
lines changed Expand file tree Collapse file tree 2 files changed +2
-2
lines changed Original file line number Diff line number Diff line change @@ -16,7 +16,7 @@ dependencies {
1616 api(platform(project(" :bom" )))
1717
1818 // Get the semconv version from :dependencyManagement
19- val semconvConstraint = project( " :dependencyManagement" ).dependencyProject .configurations[" api" ].allDependencyConstraints
19+ val semconvConstraint = project.project(project( " :dependencyManagement" ).path) .configurations[" api" ].allDependencyConstraints
2020 .find { it.group.equals(" io.opentelemetry.semconv" )
2121 && it.name.equals(" opentelemetry-semconv" ) }
2222 ? : throw Exception (" semconv constraint not found" )
Original file line number Diff line number Diff line change @@ -73,7 +73,7 @@ tasks.withType<Javadoc>().configureEach {
7373configurations {
7474 named(" errorprone" ) {
7575 dependencies.removeIf {
76- it is ProjectDependency && it.dependencyProject == project
76+ it is ProjectDependency && it.group == project.group && it.name == project.name
7777 }
7878 }
7979}
You can’t perform that action at this time.
0 commit comments