Add `exclude` attribute to @SpringBootApplication
Fixes gh-2207
This commit is contained in:
parent
0e88e1b86e
commit
8d12130a2b
|
|
@ -46,4 +46,9 @@ import org.springframework.context.annotation.Configuration;
|
|||
@ComponentScan
|
||||
public @interface SpringBootApplication {
|
||||
|
||||
/**
|
||||
* Exclude specific auto-configuration classes such that they will never be applied.
|
||||
*/
|
||||
Class<?>[] exclude() default {};
|
||||
|
||||
}
|
||||
|
|
|
|||
Loading…
Reference in New Issue