Package org.gradle.api

Examples of org.gradle.api.DefaultTask


    }

    private Task createTask(String name, final Task... dependsOn) {
        final TaskInternal task = AbstractTask.injectIntoNewInstance(root, name, new Callable<TaskInternal>() {
            public TaskInternal call() throws Exception {
                return new DefaultTask();
            }
        });
        task.dependsOn((Object[]) dependsOn);
        task.doFirst(new Action<Task>() {
            public void execute(Task task) {
View Full Code Here


        return task;
    }
   
    private Task addLaunch4jTask(Project project, Launch4jPluginExtension configuration)
    {
        DefaultTask task = makeTask(TASK_LAUNCH4J_NAME);
        task.setDescription("Placeholder task for tasks relating to creating .exe applications with launch4j");
        task.setGroup(LAUNCH4J_GROUP);
        return task;
    }
View Full Code Here

TOP

Related Classes of org.gradle.api.DefaultTask

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.