Posted February 7, 201510 yr I'm trying to make a quick way for me to be able to update forge for all my 1.8 mods. I'm using a .cmd file ran from the directory where I store all my projects. cd Durability Show 1.8 gradle clean setupDecompWorkspace eclipse build cd ../Random Utilities 1.8 gradle clean setupDecompWorkspace eclipse build pause I have more projects than this however that's the gist. After the first gradle line finishes (After durability show builds) the command prompt closes. I have no idea why this happens, it's always whenever I try to run any command after gradle, typing them manually works fine but in the automated file it refuses to work. Any idea how this can be fixed?
February 7, 201510 yr Author Thanks Now would you know how I can have a build.properties in the main directory and all the build.gradles can pull the forge version and mappings from there. I tried looking at https://github.com/SlimeKnights/TinkersConstruct/blob/master/build.gradle and copied these lines ext.configFile = file "C:/Users/Mitch/Central Storage/eclipseworkspace/build.properties" configFile.withReader { def prop = new Properties() prop.load(it) project.ext.config = new ConfigSlurper().parse prop } However now when running gradle (Testing with gradle tasks) I get FAILURE: Build failed with an exception. * Where: Build file 'C:\Users\Mitch\Central Storage\eclipseworkspace\Durability Show 1.8\build.gradle' line: 28 * What went wrong: A problem occurred evaluating root project 'Durability Show 1.8'. > [Ljava/util/HashMap$Entry; BUILD FAILED Total time: 9.735 secs Where line 28 is project.ext.config = new ConfigSlurper().parse prop Any idea?
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.