Replace use of Gradle API that's bean deprecated in 3.x
Closes gh-7734
This commit is contained in:
parent
ce9beefc9a
commit
dac249fb0d
|
@ -127,8 +127,11 @@ class ProjectLibraries implements Libraries {
|
|||
}
|
||||
else if (dependency instanceof ProjectDependency) {
|
||||
ProjectDependency projectDependency = (ProjectDependency) dependency;
|
||||
libraries.addAll(getLibrariesForFileDependencies(
|
||||
projectDependency.getProjectConfiguration(), scope));
|
||||
Configuration dependencyConfiguration = projectDependency
|
||||
.getDependencyProject().getConfigurations()
|
||||
.getByName(projectDependency.getConfiguration());
|
||||
libraries.addAll(
|
||||
getLibrariesForFileDependencies(dependencyConfiguration, scope));
|
||||
}
|
||||
}
|
||||
return libraries;
|
||||
|
|
Loading…
Reference in New Issue