Project projectMatch = getProject(bundle, gradleProjects);
List<LibraryDependency> deps = libImpl.getDependencies();
List<AndroidLibrary> clonedDeps = Lists.newArrayListWithCapacity(deps.size());
for (LibraryDependency child : deps) {
AndroidLibrary clonedLib = getAndroidLibrary(child, gradleProjects);
clonedDeps.add(clonedLib);
}
return new AndroidLibraryImpl(libImpl, clonedDeps,
projectMatch != null ? projectMatch.getPath() : null,