Importing properties from an external file in Spring Boot

With earlier versions of Spring Boot, it was cumbersome to import additional properties or yaml files short of using and application.yml. You could use the spring.config.additional-location property, but you needed to set it pretty early and it was quite limited with the types of files that it could deal with.

Read more