mirror of
https://github.com/spring-projects/spring-boot.git
synced 2024-08-29 03:06:45 +08:00
Up to now we have been treating the *first* class to be compiled as the "main" application and adding @EnableAutoConfiguration. This isn't always appropriate (e.g. if it's a test case), so now we look for an appropriate annotation before falling back to the old behaviour. In addition ensures classes with a field of type Reactor trigger the reactor auto imports. See gh-969
5 lines
59 B
Groovy
5 lines
59 B
Groovy
@Configuration
|
|
@EnableReactor
|
|
class ReactorApplication {
|
|
}
|