File tree 2 files changed +2
-2
lines changed
2 files changed +2
-2
lines changed Original file line number Diff line number Diff line change @@ -16,7 +16,7 @@ dependencies {
16
16
api(platform(project(" :bom" )))
17
17
18
18
// 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
20
20
.find { it.group.equals(" io.opentelemetry.semconv" )
21
21
&& it.name.equals(" opentelemetry-semconv" ) }
22
22
? : throw Exception (" semconv constraint not found" )
Original file line number Diff line number Diff line change @@ -73,7 +73,7 @@ tasks.withType<Javadoc>().configureEach {
73
73
configurations {
74
74
named(" errorprone" ) {
75
75
dependencies.removeIf {
76
- it is ProjectDependency && it.dependencyProject == project
76
+ it is ProjectDependency && it.group == project.group && it.name == project.name
77
77
}
78
78
}
79
79
}
You can’t perform that action at this time.
0 commit comments