@Nullable String project,
@NotNull List<Message> errorsFound) {
if (project == null || project.isEmpty()) return;
ModuleDependency dependency = new ModuleDependency(project, DependencyScope.TEST);
ModuleManager moduleManager = ModuleManager.getInstance(model.getProject());
Module moduleDependency = null;
for (Module module : moduleManager.getModules()) {
AndroidGradleFacet androidGradleFacet = AndroidGradleFacet.getInstance(module);
if (androidGradleFacet != null) {
String gradlePath = androidGradleFacet.getConfiguration().GRADLE_PROJECT_PATH;
if (Objects.equal(gradlePath, dependency.getGradlePath())) {
moduleDependency = module;