Added generation of sha1 of distro archive to build.

This commit is contained in:
Luke Taylor 2010-01-20 04:33:21 +00:00
parent 56849dc41e
commit 9734e4c82f
1 changed files with 4 additions and 1 deletions

View File

@ -141,12 +141,15 @@ task dist (type: Zip) {
into('docs/reference') {
from docsDir
}
into('dist') {
from coreModuleProjects().collect { project -> project.libsDir }
}
}
dist.doLast {
ant.checksum(file: archivePath, algorithm: 'SHA1', fileext: '.sha1')
}
dist.dependsOn apidocs, ':manual:doc'
dist.dependsOn subprojects.collect { "$it.path:assemble" }