Package net.minecraftforge.gradle.delayed

Examples of net.minecraftforge.gradle.delayed.DelayedFile.call()


        {
            Jar repackageTask = (Jar) project.getTasks().getByName("repackMinecraft");
            final DelayedFile recomp = delayedDirtyFile(getSrcDepName(), null, "jar");
           
            //done in the delayed configuration.
            File out = recomp.call();
            repackageTask.setArchiveName(out.getName());
            repackageTask.setDestinationDir(out.getParentFile());
        }
       
        // Add the mod and stuff to the classpath of the exec tasks.
View Full Code Here


                return;
            }

            if (version == null)
            {
                File jsonFile = devJson.call().getAbsoluteFile();
                try
                {
                    version = JsonFactory.loadVersion(jsonFile);
                }
                catch (Exception e)
View Full Code Here

        project.afterEvaluate(new Action() {

            @Override
            public void execute(Object arg0)
            {
                if (json.call().exists())
                {
                    try
                    {
                        readJsonDep(json.call());
                    }
View Full Code Here

            {
                if (json.call().exists())
                {
                    try
                    {
                        readJsonDep(json.call());
                    }
                    catch (IOException e)
                    {
                        Throwables.propagate(e);
                    }
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.