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

buildInfoProperties() — spring-boot Function Reference

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

Entity Profile

Dependency Diagram

graph TD
  3835edb8_1ef8_b42a_cb90_ce0b5367615e["buildInfoProperties()"]
  932b48eb_79e2_8f81_8642_e6f61f7d355f["defaultValues()"]
  932b48eb_79e2_8f81_8642_e6f61f7d355f -->|calls| 3835edb8_1ef8_b42a_cb90_ce0b5367615e
  d3acd214_a8ba_80b2_ecbe_a8060c2b9893["basicExecution()"]
  d3acd214_a8ba_80b2_ecbe_a8060c2b9893 -->|calls| 3835edb8_1ef8_b42a_cb90_ce0b5367615e
  463bd24a_3f2f_5c38_d459_d82984b0a73d["notUpToDateWhenExecutedTwiceAsTimeChanges()"]
  463bd24a_3f2f_5c38_d459_d82984b0a73d -->|calls| 3835edb8_1ef8_b42a_cb90_ce0b5367615e
  4cbc0a80_a4b1_9b5a_453a_e12912950ce3["excludeProperties()"]
  4cbc0a80_a4b1_9b5a_453a_e12912950ce3 -->|calls| 3835edb8_1ef8_b42a_cb90_ce0b5367615e
  style 3835edb8_1ef8_b42a_cb90_ce0b5367615e fill:#6366f1,stroke:#818cf8,color:#fff

Relationship Graph

Source Code

build-plugin/spring-boot-gradle-plugin/src/test/java/org/springframework/boot/gradle/tasks/buildinfo/BuildInfoIntegrationTests.java lines 159–170

	private Properties buildInfoProperties() {
		File file = new File(this.gradleBuild.getProjectDir(), "build/buildInfo/build-info.properties");
		assertThat(file).isFile();
		Properties properties = new Properties();
		try (FileReader reader = new FileReader(file)) {
			properties.load(reader);
			return properties;
		}
		catch (IOException ex) {
			throw new RuntimeException(ex);
		}
	}

Domain

Subdomains

Called By

  • basicExecution()
  • defaultValues()
  • excludeProperties()
  • notUpToDateWhenExecutedTwiceAsTimeChanges()

Frequently Asked Questions

What does buildInfoProperties() do?
buildInfoProperties() is a function in the spring-boot codebase.
What calls buildInfoProperties()?
buildInfoProperties() is called by 4 function(s): basicExecution, defaultValues, excludeProperties, notUpToDateWhenExecutedTwiceAsTimeChanges.

Analyze Your Own Codebase

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

Try Supermodel Free