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

BootWar() — spring-boot Function Reference

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

Entity Profile

Dependency Diagram

graph TD
  84fddbee_ebfc_76e7_232e_440c9f9713bf["BootWar()"]
  12e6d3fc_be32_155b_6951_5c8ddf29e457["fromCallTo()"]
  84fddbee_ebfc_76e7_232e_440c9f9713bf -->|calls| 12e6d3fc_be32_155b_6951_5c8ddf29e457
  style 84fddbee_ebfc_76e7_232e_440c9f9713bf fill:#6366f1,stroke:#818cf8,color:#fff

Relationship Graph

Source Code

build-plugin/spring-boot-gradle-plugin/src/main/java/org/springframework/boot/gradle/tasks/bundling/BootWar.java lines 79–90

	public BootWar() {
		this.support = new BootArchiveSupport(LAUNCHER, new LibrarySpec(), new ZipCompressionResolver());
		Project project = getProject();
		this.layered = project.getObjects().newInstance(LayeredSpec.class);
		getWebInf().into("lib-provided", fromCallTo(this::getProvidedLibFiles));
		this.support.moveModuleInfoToRoot(getRootSpec());
		getRootSpec().eachFile(this.support::excludeNonZipLibraryFiles);
		this.projectName = project.provider(project::getName);
		this.projectVersion = project.provider(project::getVersion);
		this.resolvedDependencies = new ResolvedDependencies(project);
		getIncludeTools().convention(true);
	}

Domain

Subdomains

Calls

Frequently Asked Questions

What does BootWar() do?
BootWar() is a function in the spring-boot codebase.
What does BootWar() call?
BootWar() calls 1 function(s): fromCallTo.

Analyze Your Own Codebase

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

Try Supermodel Free