Skip to content

Commit 10f58b3

Browse files
committed
Prevent imports on org.testcontainers.shaded.*
See gh-15950
1 parent f3e142c commit 10f58b3

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/checkstyle/checkstyle.xml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@
77
name="com.puppycrawl.tools.checkstyle.checks.imports.IllegalImportCheck">
88
<property name="regexp" value="true" />
99
<property name="illegalPkgs"
10-
value="^sun.*, ^org\.apache\.commons\.(?!compress|dbcp2|lang|lang3|logging|pool2).*, ^com\.google\.common.*, ^org\.flywaydb\.core\.internal.*" />
10+
value="^sun.*, ^org\.apache\.commons\.(?!compress|dbcp2|lang|lang3|logging|pool2).*, ^com\.google\.common.*, ^org\.flywaydb\.core\.internal.*, ^org\.testcontainers\.shaded.*" />
1111
<property name="illegalClasses"
1212
value="^reactor\.core\.support\.Assert, ^org\.junit\.rules\.ExpectedException, ^org\.slf4j\.LoggerFactory" />
1313
</module>

0 commit comments

Comments
 (0)