org.xtext.gradle.tasks.internal.DefaultXtextSourceDirectorySet Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of xtext-gradle-plugin Show documentation
Show all versions of xtext-gradle-plugin Show documentation
A plugin for invoking Xtext base Code generators
package org.xtext.gradle.tasks.internal;
import com.google.common.base.Objects;
import com.google.common.collect.Iterables;
import groovy.lang.Closure;
import java.io.File;
import java.util.List;
import java.util.Set;
import org.eclipse.xtend.lib.annotations.Accessors;
import org.eclipse.xtext.xbase.lib.CollectionLiterals;
import org.eclipse.xtext.xbase.lib.Functions.Function1;
import org.eclipse.xtext.xbase.lib.IterableExtensions;
import org.eclipse.xtext.xbase.lib.Pure;
import org.eclipse.xtext.xbase.lib.StringExtensions;
import org.gradle.api.Project;
import org.gradle.api.file.ConfigurableFileCollection;
import org.gradle.api.file.FileCollection;
import org.gradle.api.file.FileTree;
import org.gradle.api.file.FileTreeElement;
import org.gradle.api.specs.Spec;
import org.gradle.api.tasks.util.PatternFilterable;
import org.gradle.api.tasks.util.PatternSet;
import org.gradle.util.ConfigureUtil;
import org.xtext.gradle.tasks.XtextExtension;
import org.xtext.gradle.tasks.XtextSourceDirectorySet;
import org.xtext.gradle.tasks.XtextSourceSetOutputs;
import org.xtext.gradle.tasks.internal.DefaultXtextSourceSetOutputs;
@SuppressWarnings("all")
public class DefaultXtextSourceDirectorySet implements XtextSourceDirectorySet {
@Accessors
private final String name;
@Accessors
private final XtextSourceSetOutputs output;
@Accessors
private final PatternSet filter = new PatternSet();
private Project project;
private List