Restore import-control checkstyle
Restore checkstyle import control and fix a few violations in the process. Closes gh-14660
This commit is contained in:
@@ -11,5 +11,11 @@
|
||||
<property name="illegalClasses"
|
||||
value="^reactor\.core\.support\.Assert" />
|
||||
</module>
|
||||
<module
|
||||
name="com.puppycrawl.tools.checkstyle.checks.imports.ImportControlCheck">
|
||||
<property name="file"
|
||||
value="${main.basedir}/src/checkstyle/import-control.xml" />
|
||||
<property name="path" value="^.*[\\/]src[\\/]main[\\/].*$" />
|
||||
</module>
|
||||
</module>
|
||||
</module>
|
||||
|
||||
@@ -5,12 +5,12 @@
|
||||
|
||||
<subpackage name="autoconfigure">
|
||||
<subpackage name="web">
|
||||
<allow pkg="org.springframework.boot.web.server" />
|
||||
<allow pkg="org.springframework.boot.web.servlet.server" />
|
||||
<disallow pkg="org.springframework.boot.web" />
|
||||
<disallow pkg="org.springframework.web.servlet" />
|
||||
<disallow pkg="org.springframework.web.reactive" />
|
||||
<disallow pkg="javax.servlet" />
|
||||
<allow pkg="org.springframework.boot.web.server" />
|
||||
<allow pkg="org.springframework.boot.web.servlet.server" />
|
||||
<subpackage name="client">
|
||||
<allow pkg="org.springframework.boot.web.client" />
|
||||
</subpackage>
|
||||
|
||||
Reference in New Issue
Block a user