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

classpathJarsArePackagedBeneathLibPathAndAreStored() — spring-boot Function Reference

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

Entity Profile

Dependency Diagram

graph TD
  f5718e6b_dec5_8d19_7b31_49fc741c4f60["classpathJarsArePackagedBeneathLibPathAndAreStored()"]
  75b14524_6474_4bf9_dd04_f0e5f1303105["jarFile()"]
  f5718e6b_dec5_8d19_7b31_49fc741c4f60 -->|calls| 75b14524_6474_4bf9_dd04_f0e5f1303105
  6735338a_2770_d6bf_59a2_0a9fa6f0b3fc["executeTask()"]
  f5718e6b_dec5_8d19_7b31_49fc741c4f60 -->|calls| 6735338a_2770_d6bf_59a2_0a9fa6f0b3fc
  style f5718e6b_dec5_8d19_7b31_49fc741c4f60 fill:#6366f1,stroke:#818cf8,color:#fff

Relationship Graph

Source Code

build-plugin/spring-boot-gradle-plugin/src/test/java/org/springframework/boot/gradle/tasks/bundling/AbstractBootArchiveTests.java lines 168–181

	@Test
	void classpathJarsArePackagedBeneathLibPathAndAreStored() throws IOException {
		this.task.getMainClass().set("com.example.Main");
		this.task.classpath(jarFile("one.jar"), jarFile("two.jar"));
		executeTask();
		try (JarFile jarFile = new JarFile(this.task.getArchiveFile().get().getAsFile())) {
			assertThat(jarFile.getEntry(this.libPath + "one.jar")).isNotNull()
				.extracting(ZipEntry::getMethod)
				.isEqualTo(ZipEntry.STORED);
			assertThat(jarFile.getEntry(this.libPath + "two.jar")).isNotNull()
				.extracting(ZipEntry::getMethod)
				.isEqualTo(ZipEntry.STORED);
		}
	}

Domain

Subdomains

Frequently Asked Questions

What does classpathJarsArePackagedBeneathLibPathAndAreStored() do?
classpathJarsArePackagedBeneathLibPathAndAreStored() is a function in the spring-boot codebase.
What does classpathJarsArePackagedBeneathLibPathAndAreStored() call?
classpathJarsArePackagedBeneathLibPathAndAreStored() calls 2 function(s): executeTask, jarFile.

Analyze Your Own Codebase

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

Try Supermodel Free