Skip to content

Instantly share code, notes, and snippets.

View WEBOWNIA's full-sized avatar

Adam Barczewski WEBOWNIA

View GitHub Profile
@WEBOWNIA
WEBOWNIA / Version.java
Created March 27, 2025 20:44 — forked from pikolinianita/Version.java
Including github Commit in Spring Boot App
@Component
@PropertySource("classpath:version.properties")
public class VersionConfig {
@Getter
@Value("${tiger.hash:unknown}")
private String hash;
@Value("${tiger.time:unknownTime}")
private String buildTime;