Skip to content

Commit

Permalink
Add build task
Browse files Browse the repository at this point in the history
  • Loading branch information
shadowfacts committed Sep 8, 2016
1 parent 1426735 commit f119472
Show file tree
Hide file tree
Showing 2 changed files with 9 additions and 1 deletion.
1 change: 1 addition & 0 deletions .gitignore
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
.gradle/
*-merged.jar
*.DS_Store
build/
9 changes: 8 additions & 1 deletion build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -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"))
}

0 comments on commit f119472

Please sign in to comment.