Package org.gradle.language.base.internal.tasks

Examples of org.gradle.language.base.internal.tasks.StaleClassCleaner


*/
public class ProcessResources extends Copy {

    @Override
    protected void copy() {
        StaleClassCleaner cleaner = new SimpleStaleClassCleaner(getOutputs());
        cleaner.setDestinationDir(getDestinationDir());
        cleaner.execute();
        super.copy();
    }
View Full Code Here


/**
* Deletes stale classes before invoking the actual compiler
*/
public abstract class CleaningJavaCompilerSupport<T extends JavaCompileSpec> implements org.gradle.language.base.internal.compile.Compiler<T> {
    public WorkResult execute(T spec) {
        StaleClassCleaner cleaner = createCleaner(spec);

        cleaner.setDestinationDir(spec.getDestinationDir());
        cleaner.setSource(spec.getSource());
        cleaner.execute();

        Compiler<? super T> compiler = getCompiler();
        return compiler.execute(spec);
    }
View Full Code Here

TOP

Related Classes of org.gradle.language.base.internal.tasks.StaleClassCleaner

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.