From 3a410679fb909cea2031238d37b8a1df2ea4665c Mon Sep 17 00:00:00 2001 From: Lizbeth Rika Date: Fri, 14 Nov 2014 21:56:53 +0000 Subject: [PATCH] Fix up the build script, hopefully. --- build.gradle | 13 +++++++++++-- 1 file changed, 11 insertions(+), 2 deletions(-) diff --git a/build.gradle b/build.gradle index 88994df6d..ac9a833d7 100644 --- a/build.gradle +++ b/build.gradle @@ -115,7 +115,16 @@ task incrementBuildNumber(dependsOn: 'reobf') << { task forgecraft(type: Copy) { dependsOn "build" from jar.archivePath - into config.dir.forgecraft + into file(config.dir.forgecraft).absolutePath +} + +/** + * Copy over to the Output dir + */ +task output(type: Copy) { + dependsOn "build" + from jar.archivePath + into config.dir.output } /** @@ -177,4 +186,4 @@ jar { //change this so it only increments on upload upload.dependsOn tasks.incrementBuildNumber -defaultTasks 'clean', 'build', 'forgecraft', 'upload' //remove clean if you want faster builds, this will stop rare inconsistancies. +defaultTasks 'clean', 'build', 'output', 'forgecraft', 'upload' //remove clean if you want faster builds, this will stop rare inconsistancies.