From 7956e513e26e00dfbf3abd59b24a47217b310d03 Mon Sep 17 00:00:00 2001 From: Nehon Date: Thu, 19 Jun 2014 00:04:27 +0200 Subject: [PATCH] created a createZipDistribution task on the gradle build --- build.gradle | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/build.gradle b/build.gradle index e878687d4..8cb9470c5 100644 --- a/build.gradle +++ b/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 {