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

writeResource() — spring-boot Function Reference

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

Entity Profile

Dependency Diagram

graph TD
  2537bd26_f68f_0773_f0ef_19e3a06ef3b7["writeResource()"]
  1480e02e_7f37_b733_2059_24a17cfcd2ae["implicitLayers()"]
  1480e02e_7f37_b733_2059_24a17cfcd2ae -->|calls| 2537bd26_f68f_0773_f0ef_19e3a06ef3b7
  ac7f2c84_3074_d9f3_cf2a_3c3718897639["multiModuleImplicitLayers()"]
  ac7f2c84_3074_d9f3_cf2a_3c3718897639 -->|calls| 2537bd26_f68f_0773_f0ef_19e3a06ef3b7
  65ec8caa_353b_1f02_52f6_cd4484a86a76["customLayers()"]
  65ec8caa_353b_1f02_52f6_cd4484a86a76 -->|calls| 2537bd26_f68f_0773_f0ef_19e3a06ef3b7
  bfc328c2_9a96_d1f1_d259_8f62ad8057fe["multiModuleCustomLayers()"]
  bfc328c2_9a96_d1f1_d259_8f62ad8057fe -->|calls| 2537bd26_f68f_0773_f0ef_19e3a06ef3b7
  style 2537bd26_f68f_0773_f0ef_19e3a06ef3b7 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/AbstractBootArchiveIntegrationTests.java lines 724–735

	private void writeResource() {
		try {
			Path path = this.gradleBuild.getProjectDir()
				.toPath()
				.resolve(Paths.get("src", "main", "resources", "static", "file.txt"));
			Files.createDirectories(path.getParent());
			Files.createFile(path);
		}
		catch (IOException ex) {
			throw new RuntimeException(ex);
		}
	}

Domain

Subdomains

Frequently Asked Questions

What does writeResource() do?
writeResource() is a function in the spring-boot codebase.
What calls writeResource()?
writeResource() is called by 4 function(s): customLayers, implicitLayers, multiModuleCustomLayers, multiModuleImplicitLayers.

Analyze Your Own Codebase

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

Try Supermodel Free