Home / Class/ DependencyManagementPluginAction Class — spring-boot Architecture

DependencyManagementPluginAction Class — spring-boot Architecture

Architecture documentation for the DependencyManagementPluginAction class in DependencyManagementPluginAction.java from the spring-boot codebase.

Entity Profile

Source Code

build-plugin/spring-boot-gradle-plugin/src/main/java/org/springframework/boot/gradle/plugin/DependencyManagementPluginAction.java lines 33–48

final class DependencyManagementPluginAction implements PluginApplicationAction {

	@Override
	public void execute(Project project) {
		DependencyManagementExtension extension = project.getExtensions()
			.findByType(DependencyManagementExtension.class);
		Assert.state(extension != null, "'extension' must not be null");
		extension.imports((importsHandler) -> importsHandler.mavenBom(SpringBootPlugin.BOM_COORDINATES));
	}

	@Override
	public Class<? extends Plugin<Project>> getPluginClass() {
		return DependencyManagementPlugin.class;
	}

}

Analyze Your Own Codebase

Get architecture documentation, dependency graphs, and domain analysis for your codebase in minutes.

Try Supermodel Free