execute() — spring-boot Function Reference
Architecture documentation for the execute() function in ApplicationPluginAction.java from the spring-boot codebase.
Entity Profile
Dependency Diagram
graph TD bfa77d16_8b80_0139_ddea_1d50a893f40c["execute()"] 1df2c97a_af9b_d39c_9164_57f741d8cee9["configureCreateStartScripts()"] bfa77d16_8b80_0139_ddea_1d50a893f40c -->|calls| 1df2c97a_af9b_d39c_9164_57f741d8cee9 a9e50b72_a261_97c9_dc84_8dc1411368b1["configureFilePermissions()"] bfa77d16_8b80_0139_ddea_1d50a893f40c -->|calls| a9e50b72_a261_97c9_dc84_8dc1411368b1 51a1a189_8b0f_369b_3b40_f07e6b4b18a4["applyApplicationDefaultJvmArgsToRunTasks()"] bfa77d16_8b80_0139_ddea_1d50a893f40c -->|calls| 51a1a189_8b0f_369b_3b40_f07e6b4b18a4 style bfa77d16_8b80_0139_ddea_1d50a893f40c fill:#6366f1,stroke:#818cf8,color:#fff
Relationship Graph
Source Code
build-plugin/spring-boot-gradle-plugin/src/main/java/org/springframework/boot/gradle/plugin/ApplicationPluginAction.java lines 51–65
@Override
public void execute(Project project) {
JavaApplication javaApplication = project.getExtensions().getByType(JavaApplication.class);
DistributionContainer distributions = project.getExtensions().getByType(DistributionContainer.class);
Distribution distribution = distributions.create("boot");
distribution.getDistributionBaseName()
.convention((project.provider(() -> javaApplication.getApplicationName() + "-boot")));
TaskProvider<CreateStartScripts> bootStartScripts = project.getTasks()
.register("bootStartScripts", CreateStartScripts.class,
(task) -> configureCreateStartScripts(project, javaApplication, distribution, task));
CopySpec binCopySpec = project.copySpec().into("bin").from(bootStartScripts);
configureFilePermissions(binCopySpec, 0755);
distribution.getContents().with(binCopySpec);
applyApplicationDefaultJvmArgsToRunTasks(project.getTasks(), javaApplication);
}
Domain
Subdomains
Calls
Source
Frequently Asked Questions
What does execute() do?
execute() is a function in the spring-boot codebase.
What does execute() call?
execute() calls 3 function(s): applyApplicationDefaultJvmArgsToRunTasks, configureCreateStartScripts, configureFilePermissions.
Analyze Your Own Codebase
Get architecture documentation, dependency graphs, and domain analysis for your codebase in minutes.
Try Supermodel Free