Package net.minecraftforge.gradle.tasks

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


        {
            DelayedFile decompOut = delayedDirtyFile(null, CLASSIFIER_DECOMPILED, "jar");
            DelayedFile processed = delayedDirtyFile(null, CLASSIFIER_PATCHED, "jar");

            ProcessSrcJarTask patch = makeTask("processSources", ProcessSrcJarTask.class);
            patch.dependsOn("decompile");
            patch.setInJar(decompOut);
            patch.setOutJar(processed);
            configurePatching(patch);

            RemapSourcesTask remap = (RemapSourcesTask) project.getTasks().getByName("remapJar");
View Full Code Here

            task4.setInJar(delayedFile(ZIP_DECOMP_FORGE));
            task4.setOutJar(delayedFile(ZIP_FMLED_FORGE));
            task4.addStage("fml", delayedFile(FML_PATCH_DIR), delayedFile(FML_SOURCES), delayedFile(FML_RESOURCES), delayedFile("{MAPPINGS_DIR}/patches/Start.java"));
            task4.setDoesCache(false);
            task4.setMaxFuzz(2);
            task4.dependsOn("decompile", "compressDeobfData", "createVersionPropertiesFML");
        }

        RemapSourcesTask task6 = makeTask("remapSourcesJar", RemapSourcesTask.class);
        {
            task6.setInJar(delayedFile(ZIP_INJECT_MCPC));
View Full Code Here

            task4.setInJar(delayedFile(ZIP_FINJECT_MCPC));
            task4.setOutJar(delayedFile(ZIP_FORGED_MCPC));
            task4.addStage("forge", delayedFile(FORGE_PATCH_DIR));
            task4.setDoesCache(true);
            task4.setMaxFuzz(2);
            task4.dependsOn("forgeInjectJar");
        }
        
        task4 = makeTask("mcpcPatchJar", ProcessSrcJarTask.class);
        {
            task4.setInJar(delayedFile(ZIP_FORGED_MCPC));
View Full Code Here

            task4.setInJar(delayedFile(ZIP_FORGED_MCPC));
            task4.setOutJar(delayedFile(ZIP_PATCHED_MCPC));
            task4.addStage("MCPC", delayedFile(MCPC_PATCH_DIR));
            task4.setDoesCache(false);
            task4.setMaxFuzz(2);
            task4.dependsOn("forgePatchJar");
        }
    }
   
    private void createSourceCopyTasks()
    {
View Full Code Here

            task4.setInJar(delayedFile(ZIP_DECOMP_FORGE));
            task4.setOutJar(delayedFile(ZIP_FMLED_FORGE));
            task4.addStage("fml", delayedFile(FML_PATCH_DIR), delayedFile(FML_SOURCES), delayedFile(FML_RESOURCES), delayedFile("{MAPPINGS_DIR}/patches/Start.java"));
            task4.setDoesCache(false);
            task4.setMaxFuzz(2);
            task4.dependsOn("decompile", "compressDeobfData", "createVersionPropertiesFML");
        }
       
        RemapSourcesTask remapTask = makeTask("remapCleanJar", RemapSourcesTask.class);
        {
            remapTask.setInJar(delayedFile(ZIP_FMLED_FORGE));
View Full Code Here

            task4.setInJar(delayedFile(ZIP_FMLED_FORGE));
            task4.setOutJar(delayedFile(ZIP_PATCHED_FORGE));
            task4.addStage("forge", delayedFile(FORGE_PATCH_DIR));
            task4.setDoesCache(false);
            task4.setMaxFuzz(2);
            task4.dependsOn("fmlPatchJar");
        }
       
        remapTask = makeTask("remapSourcesJar", RemapSourcesTask.class);
        {
            remapTask.setInJar(delayedFile(ZIP_PATCHED_FORGE));
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.