Java 类org.gradle.api.internal.file.AbstractFileCollection 实例源码

项目:Pushjet-Android    文件:SourceSetNativeDependencyResolver.java   
public FileCollection getIncludeRoots() {
    return new AbstractFileCollection() {
        @Override
        public String getDisplayName() {
            return "Include roots of " + sourceSet.getName();
        }

        public Set<File> getFiles() {
            return sourceSet.getExportedHeaders().getSrcDirs();
        }

        @Override
        public TaskDependency getBuildDependencies() {
            return sourceSet.getBuildDependencies();
        }
    };
}
项目:Pushjet-Android    文件:SourceSetNativeDependencyResolver.java   
public FileCollection getIncludeRoots() {
    return new AbstractFileCollection() {
        @Override
        public String getDisplayName() {
            return "Include roots of " + sourceSet.getName();
        }

        public Set<File> getFiles() {
            return sourceSet.getExportedHeaders().getSrcDirs();
        }

        @Override
        public TaskDependency getBuildDependencies() {
            return sourceSet.getBuildDependencies();
        }
    };
}