mirror of
https://github.com/spring-projects/spring-boot.git
synced 2024-08-29 03:06:45 +08:00
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
Block a user