createJar() — spring-boot Function Reference
Architecture documentation for the createJar() function in BootRunIntegrationTests.java from the spring-boot codebase.
Entity Profile
Dependency Diagram
graph TD 236ff96d_3da9_adbc_611e_c3b48ebd056d["createJar()"] 57f23dd4_13cc_4172_7092_047cd895ffb8["createStandardJar()"] 57f23dd4_13cc_4172_7092_047cd895ffb8 -->|calls| 236ff96d_3da9_adbc_611e_c3b48ebd056d f63664b4_ce61_83f0_8542_64359d86834b["createDependenciesStarterJar()"] f63664b4_ce61_83f0_8542_64359d86834b -->|calls| 236ff96d_3da9_adbc_611e_c3b48ebd056d style 236ff96d_3da9_adbc_611e_c3b48ebd056d fill:#6366f1,stroke:#818cf8,color:#fff
Relationship Graph
Source Code
build-plugin/spring-boot-gradle-plugin/src/test/java/org/springframework/boot/gradle/tasks/run/BootRunIntegrationTests.java lines 222–229
private void createJar(File location, Consumer<Attributes> attributesConfigurer) throws IOException {
location.getParentFile().mkdirs();
Manifest manifest = new Manifest();
Attributes attributes = manifest.getMainAttributes();
attributes.put(Attributes.Name.MANIFEST_VERSION, "1.0");
attributesConfigurer.accept(attributes);
new JarOutputStream(new FileOutputStream(location), manifest).close();
}
Domain
Subdomains
Source
Frequently Asked Questions
What does createJar() do?
createJar() is a function in the spring-boot codebase.
What calls createJar()?
createJar() is called by 2 function(s): createDependenciesStarterJar, createStandardJar.
Analyze Your Own Codebase
Get architecture documentation, dependency graphs, and domain analysis for your codebase in minutes.
Try Supermodel Free