updateDependenciesWithJavadocSources(rootModel, androidUnitTest);
}
@Deprecated
protected void oldSetUpDependencies(@NotNull ModifiableRootModel rootModel, @NotNull IdeaAndroidUnitTest androidUnitTest, @NotNull List<Message> errorsFound) {
Variant selectedTestVariant = androidUnitTest.getSelectedTestVariant();
if (selectedTestVariant != null) {
for (File library : selectedTestVariant.getJavaDependencies()) {
updateDependency(rootModel, library);
}
for (String gradleProjectPath : selectedTestVariant.getProjectDependencies()) {
updateDependency(rootModel, gradleProjectPath, errorsFound);
}
}
}