The packaged zip now contains the sources
This commit is contained in:
parent
c171235b27
commit
7df6235dcd
@ -57,10 +57,15 @@ task libDist(dependsOn: subprojects.build) << {
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
task createZipDistribution(type:Zip,dependsOn:"dist", description:"Package the nightly zip distribution"){
|
task createZipDistribution(type:Zip,dependsOn:["dist","libDist"], description:"Package the nightly zip distribution"){
|
||||||
archiveName "jME"+jmeVersion+"_"+jmeVersionTag+"_"+new Date().format("yyyy-MM-dd")+".zip"
|
archiveName "jME"+jmeVersion+"_"+jmeVersionTag+"_"+new Date().format("yyyy-MM-dd")+".zip"
|
||||||
|
|
||||||
|
into("/") {
|
||||||
from {"./dist"}
|
from {"./dist"}
|
||||||
into("/")
|
}
|
||||||
|
into("/sources") {
|
||||||
|
from {"$buildDir/libDist/sources"}
|
||||||
|
}
|
||||||
println archiveName
|
println archiveName
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user