Skip to content

Commit

Permalink
new build task
Browse files Browse the repository at this point in the history
  • Loading branch information
crazywolf132 committed May 23, 2016
1 parent 05ce209 commit 16e8d44
Show file tree
Hide file tree
Showing 8 changed files with 16 additions and 0 deletions.
4 changes: 4 additions & 0 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -10,3 +10,7 @@

# virtual machine crash logs, see http://www.java.com/en/download/help/error_hotspot.xml
hs_err_pid*
*.tar
build/distributions/FossickersDoom-1.0-SNAPSHOT.zip
build/resources/main/bossdeath.wav
build/
1 change: 1 addition & 0 deletions .gradle/2.9/taskArtifacts/cache.properties
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
#Mon May 23 22:08:59 AEST 2016
Binary file added .gradle/2.9/taskArtifacts/cache.properties.lock
Binary file not shown.
Binary file added .gradle/2.9/taskArtifacts/fileHashes.bin
Binary file not shown.
Binary file added .gradle/2.9/taskArtifacts/fileSnapshots.bin
Binary file not shown.
Binary file added .gradle/2.9/taskArtifacts/outputFileStates.bin
Binary file not shown.
Binary file added .gradle/2.9/taskArtifacts/taskArtifacts.bin
Binary file not shown.
11 changes: 11 additions & 0 deletions build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -11,6 +11,17 @@ sourceSets.main.resources.srcDirs = ['res']

sourceCompatibility = 1.5

task zip4me(type: Zip) {
def fileDir = new File('/game')
from 'build/libs'
into fileDir
outputs.dir fileDir
}
applicationDistribution.from( bye ) {
into "done"
}


jar {
manifest {
attributes 'Main-Class': 'com.mojang.ld22.Game'
Expand Down

0 comments on commit 16e8d44

Please sign in to comment.