Mark bootArchives configuration as unresolvable

See gh-22943
This commit is contained in:
Martin Chalupa
2020-08-13 11:46:06 -07:00
committed by Andy Wilkinson
parent cf8776b83c
commit 796307a78c
2 changed files with 58 additions and 0 deletions

View File

@@ -111,6 +111,7 @@ public class SpringBootPlugin implements Plugin<Project> {
private Configuration createBootArchivesConfiguration(Project project) {
Configuration bootArchives = project.getConfigurations().create(BOOT_ARCHIVES_CONFIGURATION_NAME);
bootArchives.setDescription("Configuration for Spring Boot archive artifacts.");
bootArchives.setCanBeResolved(false);
return bootArchives;
}