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:
Phillip Webb
2025-09-17 14:57:10 -07:00
parent b02371f763
commit 4ebf09ad12
50 changed files with 120 additions and 89 deletions
+4 -1
View File
@@ -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>