Fix up the build script, hopefully.

This commit is contained in:
Lizbeth Rika committed 2014-11-14 21:56:53 +00:00
1 parent c23636e926
commit 3a410679fb
1 file changed
+11 -2
+11 -2
View File
@@ -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.