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

BootJar() — spring-boot Function Reference

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

Entity Profile

Dependency Diagram

graph TD
  d2ecebf0_d965_23b3_45a6_209b9e66afd0["BootJar()"]
  640b80a5_8e8d_a743_0917_b946e332af55["configureBootInfSpec()"]
  d2ecebf0_d965_23b3_45a6_209b9e66afd0 -->|calls| 640b80a5_8e8d_a743_0917_b946e332af55
  style d2ecebf0_d965_23b3_45a6_209b9e66afd0 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/BootJar.java lines 80–91

	public BootJar() {
		this.support = new BootArchiveSupport(LAUNCHER, new LibrarySpec(), new ZipCompressionResolver());
		Project project = getProject();
		this.bootInfSpec = project.copySpec().into("BOOT-INF");
		this.layered = project.getObjects().newInstance(LayeredSpec.class);
		configureBootInfSpec(this.bootInfSpec);
		getMainSpec().with(this.bootInfSpec);
		this.projectName = project.provider(project::getName);
		this.projectVersion = project.provider(project::getVersion);
		this.resolvedDependencies = new ResolvedDependencies(project);
		getIncludeTools().convention(true);
	}

Domain

Subdomains

Frequently Asked Questions

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

Analyze Your Own Codebase

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

Try Supermodel Free