We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 036c7e4 commit 97cc688Copy full SHA for 97cc688
src/main/java/org/gradlex/javamodule/testing/internal/provider/WhiteboxTestRuntimeArgumentProvider.java
@@ -23,6 +23,7 @@
23
24
import java.io.File;
25
import java.util.ArrayList;
26
+import java.util.HashSet;
27
import java.util.List;
28
import java.util.Set;
29
@@ -59,7 +60,7 @@ public void testOpensTo(List<String> testRequires) {
59
60
public Iterable<String> asArguments() {
61
String moduleName = moduleInfoParser.moduleName(mainSourceFolders);
62
- List<String> allTestClassPackages = new ArrayList<>();
63
+ Set<String> allTestClassPackages = new HashSet<>();
64
testClassesFolders.get().getAsFileTree().visit(file -> {
65
String path = file.getPath();
66
if (path.endsWith(".class") && path.contains("/")) {
0 commit comments