Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

ConfigurationProperties outside of spring-boot

Tags:

spring-boot

Is it possible to make us of @ConfigurationProperties behaviour for a non-Spring Boot application? To explain a bit clearer, I've a library module that in future I would like to use in a non-spring boot environment so I wondered if ConfigurationProperties could be utilised without bringing in a large bunch of spring-boot core dependencies.

like image 341
KramKroc Avatar asked Nov 08 '22 18:11

KramKroc


1 Answers

It looks like you need spring-boot-stater to pull in the configuration, so I guess no is the answer :D

like image 87
KramKroc Avatar answered Jan 04 '23 01:01

KramKroc