Examples of dependsOn()


Examples of net.minecraftforge.gradle.tasks.CopyAssetsTask.dependsOn()

            MergeJarsTask task = makeTask("mergeJars", MergeJarsTask.class);
            task.setClient(delayedFile(JAR_CLIENT_FRESH));
            task.setServer(delayedFile(JAR_SERVER_FRESH));
            task.setOutJar(delayedFile(JAR_MERGED));
            task.setMergeCfg(delayedFile(MERGE_CFG));
            task.dependsOn("extractUserDev", "downloadClient", "downloadServer");
        }

        {
            String name = getBinDepName() + "-" + (hasApiVersion() ? "{API_VERSION}" : "{MC_VERSION}") + ".jar";
           
View Full Code Here

Examples of net.minecraftforge.gradle.tasks.DecompileTask.dependsOn()

            task3.setInJar(delayedFile(DevConstants.JAR_SRG_FML));
            task3.setOutJar(delayedFile(DevConstants.ZIP_DECOMP_FML));
            task3.setFernFlower(delayedFile(Constants.FERNFLOWER));
            task3.setPatch(delayedFile(DevConstants.MCP_PATCH_DIR));
            task3.setAstyleConfig(delayedFile(DevConstants.ASTYLE_CFG));
            task3.dependsOn("downloadMcpTools", "deobfuscateJar");
        }
       
        RemapSourcesTask remapTask = makeTask("remapCleanJar", RemapSourcesTask.class);
        {
            remapTask.setInJar(delayedFile(DevConstants.ZIP_DECOMP_FML));
View Full Code Here

Examples of net.minecraftforge.gradle.tasks.DownloadAssetsTask.dependsOn()

        DownloadAssetsTask assets = makeTask("getAssets", DownloadAssetsTask.class);
        {
            assets.setAssetsDir(delayedFile(Constants.ASSETS));
            assets.setIndex(getAssetIndexClosure());
            assets.dependsOn("getAssetsIndex");
        }

        Delete clearCache = makeTask("cleanCache", Delete.class);
        {
            clearCache.delete(delayedFile("{CACHE_DIR}/minecraft"));
View Full Code Here

Examples of net.minecraftforge.gradle.tasks.ExtractS2SRangeTask.dependsOn()

        ExtractS2SRangeTask range = makeTask("userDevExtractRange", ExtractS2SRangeTask.class);
        {
            range.setLibsFromProject(delayedFile(DevConstants.ECLIPSE_FML + "/build.gradle"), "compile", true);
            range.addIn(delayedFile(DevConstants.FML_SOURCES));
            range.setRangeMap(delayedFile(DevConstants.USERDEV_RANGEMAP));
            range.dependsOn("generateProjects", "extractFmlSources");
        }
       
        ApplyS2STask s2s = makeTask("userDevSrgSrc", ApplyS2STask.class);
        {
            s2s.addIn(delayedFile(DevConstants.FML_SOURCES));
View Full Code Here

Examples of net.minecraftforge.gradle.tasks.GenSrgTask.dependsOn()

            task.setNotchToMcp(delayedFile(DEOBF_MCP_SRG));
            task.setMcpToSrg(delayedFile(REOBF_SRG));
            task.setMcpToNotch(delayedFile(REOBF_NOTCH_SRG));
            task.setSrgExc(delayedFile(EXC_SRG));
            task.setMcpExc(delayedFile(EXC_MCP));
            task.dependsOn("extractUserDev");
        }
       
        {
            MergeJarsTask task = makeTask("mergeJars", MergeJarsTask.class);
            task.setClient(delayedFile(JAR_CLIENT_FRESH));
View Full Code Here

Examples of net.minecraftforge.gradle.tasks.MergeJarsTask.dependsOn()

            MergeJarsTask task = makeTask("mergeJars", MergeJarsTask.class);
            task.setClient(delayedFile(JAR_CLIENT_FRESH));
            task.setServer(delayedFile(JAR_SERVER_FRESH));
            task.setOutJar(delayedFile(JAR_MERGED));
            task.setMergeCfg(delayedFile(MERGE_CFG));
            task.dependsOn("extractUserDev", "downloadClient", "downloadServer");
        }

        {
            String name = getBinDepName() + "-" + (hasApiVersion() ? "{API_VERSION}" : "{MC_VERSION}") + ".jar";
           
View Full Code Here

Examples of net.minecraftforge.gradle.tasks.ProcessJarTask.dependsOn()

            task2.setSrg(delayedFile(DevConstants.NOTCH_2_SRG_SRG));
            task2.setExceptorCfg(delayedFile(DevConstants.JOINED_EXC));
            task2.setExceptorJson(delayedFile(DevConstants.EXC_JSON));
            task2.addTransformerClean(delayedFile(DevConstants.FML_RESOURCES + "/fml_at.cfg"));
            task2.setApplyMarkers(true);
            task2.dependsOn("downloadMcpTools", "mergeJars", "genSrgs");
        }

        DecompileTask task3 = makeTask("decompile", DecompileTask.class);
        {
            task3.setInJar(delayedFile(DevConstants.JAR_SRG_FML));
View Full Code Here

Examples of net.minecraftforge.gradle.tasks.ProcessJarTask.dependsOn()

            project.getTasks().getByName("deobfBinJar").dependsOn(task);
           
            ProcessJarTask deobf = (ProcessJarTask) project.getTasks().getByName("deobfBinJar").dependsOn(task);;
            deobf.setInJar(delayedFile(JAR_BINPATCHED));
            deobf.dependsOn(task);
        }

        // add source patching task
        {
            DelayedFile decompOut = delayedDirtyFile(null, CLASSIFIER_DECOMPILED, "jar");
View Full Code Here

Examples of net.minecraftforge.gradle.tasks.ProcessSrcJarTask.dependsOn()

            task5.setInJar(delayedFile(DevConstants.ZIP_DECOMP_FML));
            task5.setOutJar(delayedFile(DevConstants.ZIP_PATCHED_FML));
            task5.addStage("fml", delayedFile(DevConstants.FML_PATCH_DIR));
            task5.setDoesCache(false);
            task5.setMaxFuzz(2);
            task5.dependsOn("decompile");
        }
       
        remapTask = makeTask("remapDirtyJar", RemapSourcesTask.class);
        {
            remapTask.setInJar(delayedFile(DevConstants.ZIP_PATCHED_FML));
View Full Code Here

Examples of net.minecraftforge.gradle.tasks.RemapSourcesTask.dependsOn()

            remapTask.setMethodsCsv(delayedFile(DevConstants.METHODS_CSV));
            remapTask.setFieldsCsv(delayedFile(DevConstants.FIELDS_CSV));
            remapTask.setParamsCsv(delayedFile(DevConstants.PARAMS_CSV));
            remapTask.setDoesCache(false);
            remapTask.setNoJavadocs();
            remapTask.dependsOn("decompile");
        }

        ProcessSrcJarTask task5 = makeTask("fmlPatchJar", ProcessSrcJarTask.class);
        {
            task5.setInJar(delayedFile(DevConstants.ZIP_DECOMP_FML));
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.