mirror of
https://github.com/GTNewHorizons/Botania.git
synced 2026-11-19 03:39:17 +00:00
Fix up the build script, hopefully.
This commit is contained in:
1 parent
c23636e926
commit
3a410679fb
1 file changed
+11
-2
+11
-2
@@ -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.
|
||||
Reference in new issue
Block a user