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

execute() — spring-boot Function Reference

Architecture documentation for the execute() function in NativeImagePluginAction.java from the spring-boot codebase.

Entity Profile

Dependency Diagram

graph TD
  5bfa3eee_4c9a_032c_d445_288c14546d8f["execute()"]
  cb2c48dc_c0b7_7b54_f8a6_eaacb62a8a82["apply()"]
  5bfa3eee_4c9a_032c_d445_288c14546d8f -->|calls| cb2c48dc_c0b7_7b54_f8a6_eaacb62a8a82
  f05fe694_9229_5fcc_5bfe_a5814e054966["configureGraalVmExtension()"]
  5bfa3eee_4c9a_032c_d445_288c14546d8f -->|calls| f05fe694_9229_5fcc_5bfe_a5814e054966
  bc173eb2_f34d_64e7_8d8a_0a8df7dd5c38["configureMainNativeBinaryClasspath()"]
  5bfa3eee_4c9a_032c_d445_288c14546d8f -->|calls| bc173eb2_f34d_64e7_8d8a_0a8df7dd5c38
  473fa5c9_c95e_850b_d980_3ec709d309aa["configureTestNativeBinaryClasspath()"]
  5bfa3eee_4c9a_032c_d445_288c14546d8f -->|calls| 473fa5c9_c95e_850b_d980_3ec709d309aa
  986493f0_d863_927f_25ba_726ef31f2948["copyReachabilityMetadataToBootJar()"]
  5bfa3eee_4c9a_032c_d445_288c14546d8f -->|calls| 986493f0_d863_927f_25ba_726ef31f2948
  52d64f7d_4abd_d255_ae1b_31785c743dc3["configureJarManifestNativeAttribute()"]
  5bfa3eee_4c9a_032c_d445_288c14546d8f -->|calls| 52d64f7d_4abd_d255_ae1b_31785c743dc3
  style 5bfa3eee_4c9a_032c_d445_288c14546d8f fill:#6366f1,stroke:#818cf8,color:#fff

Relationship Graph

Source Code

build-plugin/spring-boot-gradle-plugin/src/main/java/org/springframework/boot/gradle/plugin/NativeImagePluginAction.java lines 51–63

	@Override
	public void execute(Project project) {
		project.getPlugins().apply(SpringBootAotPlugin.class);
		project.getPlugins().withType(JavaPlugin.class).all((plugin) -> {
			JavaPluginExtension javaPluginExtension = project.getExtensions().getByType(JavaPluginExtension.class);
			SourceSetContainer sourceSets = javaPluginExtension.getSourceSets();
			GraalVMExtension graalVmExtension = configureGraalVmExtension(project);
			configureMainNativeBinaryClasspath(project, sourceSets, graalVmExtension);
			configureTestNativeBinaryClasspath(sourceSets, graalVmExtension);
			copyReachabilityMetadataToBootJar(project);
			configureJarManifestNativeAttribute(project);
		});
	}

Domain

Subdomains

Calls

Frequently Asked Questions

What does execute() do?
execute() is a function in the spring-boot codebase.
What does execute() call?
execute() calls 6 function(s): apply, configureGraalVmExtension, configureJarManifestNativeAttribute, configureMainNativeBinaryClasspath, configureTestNativeBinaryClasspath, copyReachabilityMetadataToBootJar.

Analyze Your Own Codebase

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

Try Supermodel Free