Add exclude attribute to @SpringBootApplication
Fixes gh-2207
This commit is contained in:
@@ -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 {};
|
||||
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user