File tree Expand file tree Collapse file tree 1 file changed +2
-12
lines changed
spring-modulith-api/src/main/java/org/springframework/modulith Expand file tree Collapse file tree 1 file changed +2
-12
lines changed Original file line number Diff line number Diff line change 21
21
import java .lang .annotation .RetentionPolicy ;
22
22
import java .lang .annotation .Target ;
23
23
24
- import org .springframework .boot .SpringBootConfiguration ;
25
- import org .springframework .boot .autoconfigure .AutoConfigurationExcludeFilter ;
26
- import org .springframework .boot .autoconfigure .EnableAutoConfiguration ;
27
- import org .springframework .boot .context .TypeExcludeFilter ;
28
- import org .springframework .context .annotation .ComponentScan ;
29
- import org .springframework .context .annotation .ComponentScan .Filter ;
30
- import org .springframework .context .annotation .FilterType ;
24
+ import org .springframework .boot .autoconfigure .SpringBootApplication ;
31
25
import org .springframework .core .annotation .AliasFor ;
32
26
33
27
/**
39
33
@ Target (ElementType .TYPE )
40
34
@ Retention (RetentionPolicy .RUNTIME )
41
35
@ Modulithic
42
- @ SpringBootConfiguration
43
- @ EnableAutoConfiguration
44
- @ ComponentScan (excludeFilters = { //
45
- @ Filter (type = FilterType .CUSTOM , classes = TypeExcludeFilter .class ),
46
- @ Filter (type = FilterType .CUSTOM , classes = AutoConfigurationExcludeFilter .class ) })
36
+ @ SpringBootApplication
47
37
public @interface Modulith {
48
38
49
39
/**
You can’t perform that action at this time.
0 commit comments