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

buildInfoProperties() — spring-boot Function Reference

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

Entity Profile

Dependency Diagram

graph TD
  45c152b2_2c33_0216_322d_8350fc448fea["buildInfoProperties()"]
  12e48f7f_2c52_2bfd_757f_3a374a0271fd["basicJar()"]
  12e48f7f_2c52_2bfd_757f_3a374a0271fd -->|calls| 45c152b2_2c33_0216_322d_8350fc448fea
  cdf7eae1_c5a8_1d99_8898_b45421bb68c2["jarWithCustomName()"]
  cdf7eae1_c5a8_1d99_8898_b45421bb68c2 -->|calls| 45c152b2_2c33_0216_322d_8350fc448fea
  fa5f379e_482e_0a77_71b6_443be62b7e41["basicWar()"]
  fa5f379e_482e_0a77_71b6_443be62b7e41 -->|calls| 45c152b2_2c33_0216_322d_8350fc448fea
  64f9bf0a_aace_6417_e978_3e5961f53fc0["warWithCustomName()"]
  64f9bf0a_aace_6417_e978_3e5961f53fc0 -->|calls| 45c152b2_2c33_0216_322d_8350fc448fea
  b8653f78_2602_e084_aa96_a57ae60d9fda["additionalProperties()"]
  b8653f78_2602_e084_aa96_a57ae60d9fda -->|calls| 45c152b2_2c33_0216_322d_8350fc448fea
  style 45c152b2_2c33_0216_322d_8350fc448fea fill:#6366f1,stroke:#818cf8,color:#fff

Relationship Graph

Source Code

build-plugin/spring-boot-gradle-plugin/src/test/java/org/springframework/boot/gradle/dsl/BuildInfoDslIntegrationTests.java lines 115–126

	private Properties buildInfoProperties() {
		File file = new File(this.gradleBuild.getProjectDir(), "build/resources/main/META-INF/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

  • additionalProperties()
  • basicJar()
  • basicWar()
  • jarWithCustomName()
  • warWithCustomName()

Frequently Asked Questions

What does buildInfoProperties() do?
buildInfoProperties() is a function in the spring-boot codebase.
What calls buildInfoProperties()?
buildInfoProperties() is called by 5 function(s): additionalProperties, basicJar, basicWar, jarWithCustomName, warWithCustomName.

Analyze Your Own Codebase

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

Try Supermodel Free