@Override
 public IvyPluginRepository ivy(Action<? super IvyPluginRepository> action) {
   IvyPluginRepository repo = pluginRepositoryFactory.ivy(action, fileResolver);
   pluginRepositoryRegistry.add(repo);
   return repo;
 }
 @Override
 public GradlePluginPortal gradlePluginPortal() {
   GradlePluginPortal portal = pluginRepositoryFactory.gradlePluginPortal();
   pluginRepositoryRegistry.add(portal);
   return portal;
 }
 @Override
 public MavenPluginRepository maven(Action<? super MavenPluginRepository> action) {
   MavenPluginRepository repo = pluginRepositoryFactory.maven(action, fileResolver);
   pluginRepositoryRegistry.add(repo);
   return repo;
 }