gradle-master/subprojects/docs/src/snippets/plugins/namedDomainObjectContainer/groovy/buildSrc/src/main/java/DownloadExtension.java
import org.gradle.api.NamedDomainObjectContainer;

// tag::download-extension[]
public interface DownloadExtension {
    NamedDomainObjectContainer<Resource> getResources();
}
// end::download-extension[]
