Added generation of sha1 of distro archive to build.
This commit is contained in:
parent
56849dc41e
commit
9734e4c82f
|
@ -141,12 +141,15 @@ task dist (type: Zip) {
|
||||||
into('docs/reference') {
|
into('docs/reference') {
|
||||||
from docsDir
|
from docsDir
|
||||||
}
|
}
|
||||||
|
|
||||||
into('dist') {
|
into('dist') {
|
||||||
from coreModuleProjects().collect { project -> project.libsDir }
|
from coreModuleProjects().collect { project -> project.libsDir }
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
dist.doLast {
|
||||||
|
ant.checksum(file: archivePath, algorithm: 'SHA1', fileext: '.sha1')
|
||||||
|
}
|
||||||
|
|
||||||
dist.dependsOn apidocs, ':manual:doc'
|
dist.dependsOn apidocs, ':manual:doc'
|
||||||
dist.dependsOn subprojects.collect { "$it.path:assemble" }
|
dist.dependsOn subprojects.collect { "$it.path:assemble" }
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue