Commit dac249fb authored by Andy Wilkinson's avatar Andy Wilkinson

Replace use of Gradle API that's bean deprecated in 3.x

Closes gh-7734
parent ce9beefc
......@@ -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;
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment