Start line:  
End line:  

Snippet Preview

Snippet HTML Code

Stack Overflow Questions
 package co.tomlee.gradle.plugins.thrift;
 
 import  groovy.lang.Closure;
 import  org.gradle.api.file.SourceDirectorySet;
 import  org.gradle.api.internal.file.DefaultSourceDirectorySet;
 import  org.gradle.api.internal.file.FileResolver;
 import  org.gradle.util.ConfigureUtil;
 
    private static final String[] filters = { "**/*.thrift" };
    private final SourceDirectorySet thrift;
    public ThriftSourceVirtualDirectoryImpl(String parentDisplayName, FileResolver fileResolver) {
        final String displayName = String.format("%s Thrift source"parentDisplayName);
        this. = new DefaultSourceDirectorySet(displayNamefileResolver);
        this..getFilter().include();
    }
    @Override
    public SourceDirectorySet getThrift() {
        return ;
    }
    @Override
    public ThriftSourceVirtualDirectory thrift(Closure closure) {
        ConfigureUtil.configure(closuregetThrift());
        return this;
    }
New to GrepCode? Check out our FAQ X