boolean (@NotNull GradleCommandLine commandLine, @NotNull Project project, @NotNull String projectPath) { var indices = GradleTasksIndices.getInstance(project); for (var task : commandLine.getTasks()) { var taskData = indices.findTasks(projectPath, task.getName()); if (ContainerUtil.exists(taskData, it -> it.isTest() && !it.isJvmTest())) { return true; } } return false; }