<BUG>public DefaultPublishingExtension(PublicationRepositoryContainer repositories, PublicationContainer publications) {
</BUG>
this.repositories = repositories;
this.publications = publications;
}
<BUG>public PublicationRepositoryContainer getRepositories() {
</BUG>
return repositories;
}
<BUG>public void repositories(Action<? super NamedDomainObjectContainer<ArtifactRepository>> configure) {
</BUG>
configure.execute(repositories);

package org.gradle.api.publish.internal;
import org.gradle.api.Action;
import org.gradle.api.artifacts.dsl.RepositoryHandler;
import org.gradle.api.publish.PublicationContainer;
import org.gradle.api.publish.PublishingExtension;
public class DefaultPublishingExtension implements PublishingExtension {
private final RepositoryHandler repositories;
private final PublicationContainer publications;
public DefaultPublishingExtension(RepositoryHandler repositories, PublicationContainer publications) {
this.repositories = repositories;
this.publications = publications;
