Skip to content

Instantly share code, notes, and snippets.

@AbrarSyed
AbrarSyed / build.gradle
Last active August 29, 2015 14:02
Put these in a folder, clone projects to that folder to your hearts content. Then run ```` gradle build``` and all the mods will be built and put in the output folder for you. DISCLAIMER: may not work perfectly for all mods
task build
task clean
task setup
ext.output = new File(rootProject.projectDir, "output")
subprojects {
afterEvaluate {
// not using ForgeGradle? skipping you.
if (!hasPlugin("forge") && !hasPlugin("fml") && !hasPlugin("liteloader"))