mirror of
https://github.com/GTNewHorizons/Botania.git
synced 2026-11-22 05:02:30 +00:00
Fix up the gradle script again >.<
This commit is contained in:
1 parent
36e44e8aec
commit
ba90ef015d
1 file changed
+13
-8
+13
-8
@@ -135,10 +135,15 @@ task outputDeobf(type: Copy) {
|
||||
into file("${config.dir_output}/deobf")
|
||||
}
|
||||
|
||||
task forgecraft(type: Copy) {
|
||||
task delOldForgecraft(type: Delete) {
|
||||
dependsOn "outputDeobf"
|
||||
from "${config.dir_output}/wtf"
|
||||
into file(config.dir_forgecraft)
|
||||
delete "${config.dir_forgecraft}/Botania *.jar"
|
||||
}
|
||||
|
||||
task forgecraft(type: Copy) {
|
||||
dependsOn "delOldForgecraft"
|
||||
from "${config.dir_output}/wtf"
|
||||
into file(config.dir_forgecraft)
|
||||
}
|
||||
|
||||
task sort(type: Delete) {
|
||||
@@ -199,6 +204,11 @@ def parseConfig(File config) {
|
||||
}
|
||||
}
|
||||
|
||||
jar {
|
||||
//rename the default output, for some better... sanity with scipts
|
||||
archiveName = "${baseName} ${version}.${extension}"
|
||||
}
|
||||
|
||||
curse {
|
||||
apiKey = priv.cfkey
|
||||
projectId = "225643"
|
||||
@@ -208,11 +218,6 @@ curse {
|
||||
releaseType = "release"
|
||||
}
|
||||
|
||||
jar {
|
||||
//rename the default output, for some better... sanity with scipts
|
||||
archiveName = "${baseName} ${version}.${extension}"
|
||||
}
|
||||
|
||||
//change this so it only increments on upload
|
||||
upload.dependsOn tasks.incrementBuildNumber
|
||||
defaultTasks 'clean', 'build', 'sort', 'forgecraft', 'curse', 'upload' //remove clean if you want faster builds, this will stop rare inconsistancies.
|
||||
Reference in new issue
Block a user