mirror of
https://github.com/spring-projects/spring-boot.git
synced 2026-09-17 12:09:16 +00:00
Restructure bootstrap classes to a foundational layer
Move bootstrap code from `org.springframework.boot` to `org.springframework.boot.bootstrap` and make them a foundational layer. This move helps reduce `org.springframework.boot.context.config` dependencies to `org.springframework.boot`. See gh-47232
This commit is contained in:
@@ -13,7 +13,10 @@
|
||||
<!-- Allow other imports -->
|
||||
<allow pkg=".*" regex="true" />
|
||||
|
||||
<!-- Keep foundation packages away from SpringApplication package -->
|
||||
<!-- Keep foundation packages away from 'org.springframework.boot' package -->
|
||||
<subpackage name="bootstrap">
|
||||
<disallow pkg="org.springframework.boot" exact-match="true"/>
|
||||
</subpackage>
|
||||
<subpackage name="ssl">
|
||||
<disallow pkg="org.springframework.boot" exact-match="true"/>
|
||||
</subpackage>
|
||||
|
||||
Reference in New Issue
Block a user