org.gradle.api.internal.file.AbstractFileCollection Java Examples

The following examples show how to use org.gradle.api.internal.file.AbstractFileCollection. You can vote up the ones you like or vote down the ones you don't like, and go to the original project or source file by following the links above each example. You may check out the related API usage on the sidebar.
Example #1
Source File: SourceSetNativeDependencyResolver.java    From pushfish-android with BSD 2-Clause "Simplified" License 6 votes vote down vote up
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();
        }
    };
}
 
Example #2
Source File: SourceSetNativeDependencyResolver.java    From pushfish-android with BSD 2-Clause "Simplified" License 6 votes vote down vote up
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();
        }
    };
}
 
Example #3
Source File: SourceSetNativeDependencyResolver.java    From Pushjet-Android with BSD 2-Clause "Simplified" License 6 votes vote down vote up
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();
        }
    };
}
 
Example #4
Source File: SourceSetNativeDependencyResolver.java    From Pushjet-Android with BSD 2-Clause "Simplified" License 6 votes vote down vote up
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();
        }
    };
}