Home / Function/ registerPluginActions() — spring-boot Function Reference

registerPluginActions() — spring-boot Function Reference

Architecture documentation for the registerPluginActions() function in SpringBootPlugin.java from the spring-boot codebase.

Function java GradlePlugin DslExtensions calls 1 called by 1

Entity Profile

Dependency Diagram

graph TD
  cd8022a9_5a8f_70b0_68a7_b58a9dee1a93["registerPluginActions()"]
  81c83f62_2eb3_3b0c_925b_357905fdab5e["apply()"]
  81c83f62_2eb3_3b0c_925b_357905fdab5e -->|calls| cd8022a9_5a8f_70b0_68a7_b58a9dee1a93
  ff123a43_0c69_47d0_8364_51166389998f["withPluginClassOfAction()"]
  cd8022a9_5a8f_70b0_68a7_b58a9dee1a93 -->|calls| ff123a43_0c69_47d0_8364_51166389998f
  style cd8022a9_5a8f_70b0_68a7_b58a9dee1a93 fill:#6366f1,stroke:#818cf8,color:#fff

Relationship Graph

Source Code

build-plugin/spring-boot-gradle-plugin/src/main/java/org/springframework/boot/gradle/plugin/SpringBootPlugin.java lines 145–156

	private void registerPluginActions(Project project, Configuration bootArchives) {
		SinglePublishedArtifact singlePublishedArtifact = new SinglePublishedArtifact(bootArchives,
				project.getArtifacts());
		List<PluginApplicationAction> actions = Arrays.asList(new JavaPluginAction(singlePublishedArtifact),
				new WarPluginAction(singlePublishedArtifact), new DependencyManagementPluginAction(),
				new ApplicationPluginAction(), new KotlinPluginAction(), new NativeImagePluginAction(),
				new CyclonedxPluginAction());
		for (PluginApplicationAction action : actions) {
			withPluginClassOfAction(action,
					(pluginClass) -> project.getPlugins().withType(pluginClass, (plugin) -> action.execute(project)));
		}
	}

Domain

Subdomains

Calls

  • withPluginClassOfAction()

Called By

Frequently Asked Questions

What does registerPluginActions() do?
registerPluginActions() is a function in the spring-boot codebase.
What does registerPluginActions() call?
registerPluginActions() calls 1 function(s): withPluginClassOfAction.
What calls registerPluginActions()?
registerPluginActions() is called by 1 function(s): apply.

Analyze Your Own Codebase

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

Try Supermodel Free