Explorar o código

created a createZipDistribution task on the gradle build

Nehon %!s(int64=11) %!d(string=hai) anos
pai
achega
7956e513e2
Modificáronse 1 ficheiros con 7 adicións e 0 borrados
  1. 7 0
      build.gradle

+ 7 - 0
build.gradle

@@ -57,6 +57,13 @@ task libDist(dependsOn: subprojects.build) << {
     }
 }
 
+task createZipDistribution(type:Zip,dependsOn:"dist", description:"Package the nightly zip distribution"){    
+        archiveName "jME"+jmeVersion+"_"+jmeVersionTag+"_"+new Date().format("yyyy-MM-dd")+".zip"
+        from {"./dist"}
+        into(".")                
+        println archiveName       
+}
+
 task copyLibs(type: Copy){
 //    description 'Copies the engine dependencies to build/libDist'
     from {