Last active
September 7, 2016 08:33
-
-
Save michael-simons/74fe5e33f008e086f9ebca0b5c637771 to your computer and use it in GitHub Desktop.
Have a look at the talk and the demo here http://info.michael-simons.eu/2016/06/01/talking-about-custom-spring-boot-starter-at-spring-io/
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
The questions was asked during my talk at Spring I/O 2016 (See: https://www.youtube.com/watch?v=wSWA63rZfGo), wether @AutoConfigureBefore will cause trouble if the auto configuration class in question isn't on the classpath: It depends!
Regarding the ThymeleafAutoConfiguration it won't cause any troubles for projects inherited from Spring Boot Parent, because ThymeleafAutoConfiguration is in there.
But if you depend on another starter, you must shield the application as I did in the 2nd version of the gist, by adding the AutoConfiguration classes to the ConditionalOnClass as well…