Package org.gradle.api.tasks.util

Examples of org.gradle.api.tasks.util.PatternFilterable


    }

    public WorkResult execute() {
        scalaCompiler.execute();

        PatternFilterable patternSet = new PatternSet();
        patternSet.include("**/*.java");
        FileTree javaSource = source.getAsFileTree().matching(patternSet);
        if (!javaSource.isEmpty()) {
            javaCompiler.setSource(javaSource);
            javaCompiler.execute();
        }
View Full Code Here


    }

    public WorkResult execute(ScalaJavaJointCompileSpec spec) {
        scalaCompiler.execute(spec);

        PatternFilterable patternSet = new PatternSet();
        patternSet.include("**/*.java");
        FileTree javaSource = spec.getSource().getAsFileTree().matching(patternSet);
        if (!javaSource.isEmpty()) {
            spec.setSource(javaSource);
            javaCompiler.execute(spec);
        }
View Full Code Here

TOP

Related Classes of org.gradle.api.tasks.util.PatternFilterable

Copyright © 2018 www.massapicom. All rights reserved.
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.