Package org.gradle.api

Examples of org.gradle.api.AntBuilder


        options.putAll(compileOptions.getDependOptions().optionMap());
        if (compileOptions.getDependOptions().isUseCache()) {
            options.put("cache", dependencyCacheDir);
        }

        final AntBuilder ant = antBuilderFactory.create();
        ant.getProject().addTaskDefinition("gradleDepend", AntDepend.class);
        ant.invokeMethod("gradleDepend", new Object[]{options.build(), new Closure<Object>(this, this) {
            @SuppressWarnings("UnusedDeclaration")
            public void doCall(Object ignore) {
                getSource().addToAntBuilder(ant, "src", FileCollection.AntType.MatchingTask);
            }
        }});
View Full Code Here

TOP

Related Classes of org.gradle.api.AntBuilder

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.