In a Spring Boot application, I would like to get the build and other application related information in /info
actuator endpoint via buildInfo()
from springBoot
plugin task. However, the build information properties file name is not build-info.properties
rather it's different {app_name}.properties
. The property file exists in /META-INF/{app_name}.properties
in the spring boot created fat jar.
springBoot {
buildInfo()
}
My question is: Is there any way the property file name can be configured in the task rather than taking default?
Update: