File tree Expand file tree Collapse file tree
buildSrc/src/main/java/org/springframework/boot/build/mavenplugin Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -165,6 +165,8 @@ private void addPopulateIntTestMavenRepositoryTask(Project project) {
165165 repositoryContents .extendsFrom (
166166 project .getConfigurations ().getByName (JavaPlugin .RUNTIME_CLASSPATH_CONFIGURATION_NAME ),
167167 project .getConfigurations ().getByName ("mavenRepository" ));
168+ repositoryContents .attributes ((attributes ) -> attributes .attribute (DocsType .DOCS_TYPE_ATTRIBUTE ,
169+ project .getObjects ().named (DocsType .class , "maven-repository" )));
168170 repositoryContents .setCanBeConsumed (false );
169171 TaskProvider <ResolvedConfigurationMavenRepository > populateMavenRepository = project .getTasks ()
170172 .register ("populateResolvedDependenciesMavenRepository" , ResolvedConfigurationMavenRepository .class ,
You can’t perform that action at this time.
0 commit comments