Package org.gradle.api

Examples of org.gradle.api.AntBuilder.invokeMethod()


            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
Copyright © 2018 www.massapi.com. 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.