Add build task

This commit is contained in:
Shadowfacts 2016-09-08 18:42:45 -04:00
parent 1426735636
commit f119472ddc
No known key found for this signature in database
GPG Key ID: F802198A7D7F309D
2 changed files with 9 additions and 1 deletions

1
.gitignore vendored
View File

@ -1,3 +1,4 @@
.gradle/
*-merged.jar
*.DS_Store
build/

View File

@ -120,4 +120,11 @@ task pomf << {
arg(value: new File("mappings/").getAbsolutePath())
}
}
tasks.pomf.dependsOn "setupPomf"
tasks.pomf.dependsOn "setupPomf"
task build(type: Zip) {
from "mappings/"
include "**/*"
archiveName "pomf-enigma-${minecraft_version}.zip"
destinationDir(file("build/libs"))
}