Home / Class/ Versions Class — spring-boot Architecture

Versions Class — spring-boot Architecture

Architecture documentation for the Versions class in Versions.java from the spring-boot codebase.

Entity Profile

Source Code

cli/spring-boot-cli/src/intTest/java/org/springframework/boot/cli/infrastructure/Versions.java lines 28–44

final class Versions {

	private Versions() {
	}

	static String getBootVersion() {
		Properties gradleProperties = new Properties();
		try (FileInputStream input = new FileInputStream("../../gradle.properties")) {
			gradleProperties.load(input);
			return gradleProperties.getProperty("version");
		}
		catch (IOException ex) {
			throw new RuntimeException(ex);
		}
	}

}

Analyze Your Own Codebase

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

Try Supermodel Free