Skip to content

Commit 062d3fa

Browse files
committed
Remove internal packages from API reports
(cherry picked from commit e269a1c)
1 parent 74521ab commit 062d3fa

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

documentation/src/tools/java/org/junit/api/tools/ApiReportGenerator.java

+2-1
Original file line numberDiff line numberDiff line change
@@ -135,7 +135,8 @@ private static ScanResult scanClasspath() {
135135
// scan all types below "org.junit" package
136136
var classGraph = new ClassGraph() //
137137
.acceptPackages("org.junit") //
138-
.rejectPackages("*.shadow.*", "org.opentest4j.*") //
138+
.rejectPackages("*.shadow.*", "org.opentest4j.*", "org.junit.platform.commons.logging",
139+
"org.junit.platform.commons.util") //
139140
.disableNestedJarScanning() //
140141
.enableClassInfo() //
141142
.enableMethodInfo() //

0 commit comments

Comments
 (0)