I have multiple spring boot projects, and I want to extract the common code and configuration of these projects into a common configuration. For example,
@EnableAspectJAutoProxy
public class DefaultConfig {}
I want all projects to open AOP, but I don"t want every project to copy such a code. What should I do to make multiple projects share a single code?