Package org.gradle.api

Examples of org.gradle.api.Task.dependsOn()


        createSourceCopyTasks();
        createPackageTasks();

        // the master setup task.
        Task task = makeTask("setupFML", DefaultTask.class);
        task.dependsOn("extractFmlSources", "generateProjects", "eclipse", "copyAssets");
        task.setGroup("FML");

        // the master task.
        task = makeTask("buildPackages");
        task.dependsOn("launch4j", "createChangelog", "packageUniversal", "packageInstaller", "packageUserDev", "packageSrc", "genJavadocs");
View Full Code Here


        task.dependsOn("extractFmlSources", "generateProjects", "eclipse", "copyAssets");
        task.setGroup("FML");

        // the master task.
        task = makeTask("buildPackages");
        task.dependsOn("launch4j", "createChangelog", "packageUniversal", "packageInstaller", "packageUserDev", "packageSrc", "genJavadocs");
        task.setGroup("FML");

        // clean decompile task
        Delete delTask = makeTask("cleanDecompile", Delete.class);
        delTask.delete(delayedFile(DevConstants.ECLIPSE_CLEAN_SRC));
View Full Code Here

        }

        ext.setLaunch4jCmd(command);

        Task task = project.getTasks().getByName("generateXmlConfig");
        task.dependsOn("packageInstaller", "extractL4J");
        task.getInputs().file(installer);

        String icon = ext.getIcon();
        if (icon == null || icon.isEmpty())
        {
View Full Code Here

        tasks();
       
        // create lifecycle tasks.
       
        Task task = makeTask("setupCIWorkspace", DefaultTask.class);
        task.dependsOn("genSrgs", "deobfBinJar");
        task.setDescription("Sets up the bare minimum to build a minecraft mod. Idea for CI servers");
        task.setGroup("ForgeGradle");
        //configureCISetup(task);

        task = makeTask("setupDevWorkspace", DefaultTask.class);
View Full Code Here

        task.setDescription("Sets up the bare minimum to build a minecraft mod. Idea for CI servers");
        task.setGroup("ForgeGradle");
        //configureCISetup(task);

        task = makeTask("setupDevWorkspace", DefaultTask.class);
        task.dependsOn("genSrgs", "deobfBinJar", "copyAssets", "extractNatives");
        task.setDescription("CIWorkspace + natives and assets to run and test Minecraft");
        task.setGroup("ForgeGradle");
        //configureDevSetup(task);

        task = makeTask("setupDecompWorkspace", DefaultTask.class);
View Full Code Here

        task.setDescription("CIWorkspace + natives and assets to run and test Minecraft");
        task.setGroup("ForgeGradle");
        //configureDevSetup(task);

        task = makeTask("setupDecompWorkspace", DefaultTask.class);
        task.dependsOn("genSrgs", "copyAssets", "extractNatives", "repackMinecraft");
        task.setDescription("DevWorkspace + the deobfuscated Minecraft source linked as a source jar.");
        task.setGroup("ForgeGradle");
        //configureDecompSetup(task);
       
        project.getGradle().getTaskGraph().whenReady(new Closure<Object>(this, null) {
View Full Code Here

        createSourceCopyTasks();
        createPackageTasks();

        // the master setup task.
        Task task = makeTask("setupMcpc", DefaultTask.class);
        task.dependsOn("extractMcpcSources", "generateProjects", "eclipse", "copyAssets");
        task.setGroup("MCPC");
       
        // clean packages
        {
            Delete del = makeTask("cleanPackages", Delete.class);
View Full Code Here

        }

//        // the master task.
        task = makeTask("buildPackages");
        //task.dependsOn("launch4j", "createChangelog", "packageUniversal", "packageInstaller", "genJavadocs");
        task.dependsOn("cleanPackages", "packageUniversal", "packageInstaller", "genJavadocs");
        task.setGroup("MCPC");
    }
   
    @Override
    protected final DelayedFile getDevJson()
View Full Code Here

                    data.getAssembleTask().dependsOn(variantData.assembleTask);
                }

                // flavor combo
                if (assembleTask != null) {
                    assembleTask.dependsOn(variantData.assembleTask);
                }
            }
        }

        if (testedVariantData != null) {
View Full Code Here

                    data.getAssembleTask().dependsOn(variantData.assembleVariantTask);
                }

                // flavor combo
                if (assembleTask != null) {
                    assembleTask.dependsOn(variantData.assembleVariantTask);
                }
            }
        }

        if (testedVariantData != null) {
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.