private FileResolver fileResolver;
public DefaultSourceSetOutput(String sourceSetDisplayName, FileResolver fileResolver, TaskResolver taskResolver) {
this.fileResolver = fileResolver;
String displayName = String.format("%s output", sourceSetDisplayName);
outputDirectories = new DefaultConfigurableFileCollection(displayName, fileResolver, taskResolver, new Callable() {
public Object call() throws Exception {
return getClassesDir();
}
}, new Callable() {
public Object call() throws Exception {
return getResourcesDir();
}
});
dirs = new DefaultConfigurableFileCollection("dirs", fileResolver, taskResolver);
}