Explorar o código

Added generation of sha1 of distro archive to build.

Luke Taylor %!s(int64=15) %!d(string=hai) anos
pai
achega
9734e4c82f
Modificáronse 1 ficheiros con 4 adicións e 1 borrados
  1. 4 1
      build.gradle

+ 4 - 1
build.gradle

@@ -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" }