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

classpathCanBeSetUsingAFileCollection() — spring-boot Function Reference

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

Entity Profile

Dependency Diagram

graph TD
  d64e02f0_f526_33ec_c614_785c3f2e414f["classpathCanBeSetUsingAFileCollection()"]
  75b14524_6474_4bf9_dd04_f0e5f1303105["jarFile()"]
  d64e02f0_f526_33ec_c614_785c3f2e414f -->|calls| 75b14524_6474_4bf9_dd04_f0e5f1303105
  6735338a_2770_d6bf_59a2_0a9fa6f0b3fc["executeTask()"]
  d64e02f0_f526_33ec_c614_785c3f2e414f -->|calls| 6735338a_2770_d6bf_59a2_0a9fa6f0b3fc
  style d64e02f0_f526_33ec_c614_785c3f2e414f 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 217–227

	@Test
	void classpathCanBeSetUsingAFileCollection() throws IOException {
		this.task.getMainClass().set("com.example.Main");
		this.task.classpath(jarFile("one.jar"));
		this.task.setClasspath(this.task.getProject().files(jarFile("two.jar")));
		executeTask();
		try (JarFile jarFile = new JarFile(this.task.getArchiveFile().get().getAsFile())) {
			assertThat(jarFile.getEntry(this.libPath + "one.jar")).isNull();
			assertThat(jarFile.getEntry(this.libPath + "two.jar")).isNotNull();
		}
	}

Domain

Subdomains

Frequently Asked Questions

What does classpathCanBeSetUsingAFileCollection() do?
classpathCanBeSetUsingAFileCollection() is a function in the spring-boot codebase.
What does classpathCanBeSetUsingAFileCollection() call?
classpathCanBeSetUsingAFileCollection() 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