This is an automated email from the ASF dual-hosted git repository.

janhoy pushed a commit to branch branch_9x
in repository https://gitbox.apache.org/repos/asf/solr.git


The following commit(s) were added to refs/heads/branch_9x by this push:
     new 8086fe3  SOLR-15952: Remove some remnants of the distZipTask, which 
was dead code (#703)
8086fe3 is described below

commit 8086fe3f48ffda222ba6fb02041c0414f53a0bcb
Author: Jan Høydahl <[email protected]>
AuthorDate: Fri Feb 25 09:40:04 2022 +0100

    SOLR-15952: Remove some remnants of the distZipTask, which was dead code 
(#703)
    
    (cherry picked from commit a792bfd67981e18ab3a3dc8586aca98c548c0fc8)
---
 solr/distribution/build.gradle | 7 -------
 1 file changed, 7 deletions(-)

diff --git a/solr/distribution/build.gradle b/solr/distribution/build.gradle
index a586b09..10610b0 100644
--- a/solr/distribution/build.gradle
+++ b/solr/distribution/build.gradle
@@ -63,7 +63,6 @@ dependencies {
 }
 
 def distTarTask = rootProject.getTasksByName("distTar", true)[0]
-def distZipTask = rootProject.getTasksByName("distZip", true)[0]
 
 // Compute checksums for release archives.
 task computeChecksums(type: Checksum) {
@@ -73,7 +72,6 @@ task computeChecksums(type: Checksum) {
   [
       tasks.assembleSourceTgz,
       distTarTask,
-      distZipTask,
   ].each { dep ->
     dependsOn dep
     files += dep.outputs.files
@@ -85,9 +83,6 @@ task computeChecksums(type: Checksum) {
 task signBinaryTgz(type: Sign) {
   sign distTarTask
 }
-task signBinaryZip(type: Sign) {
-  sign distZipTask
-}
 task signSourceTgz(type: Sign) {
   // The source tgz is not an archive task so be explicit about the outputs to 
sign.
   dependsOn tasks.assembleSourceTgz
@@ -96,7 +91,6 @@ task signSourceTgz(type: Sign) {
 
 task signReleaseArchives(type: Sync) {
   from tasks.signBinaryTgz
-  from tasks.signBinaryZip
   from tasks.signSourceTgz
 
   into "${buildDir}/signatures"
@@ -137,7 +131,6 @@ task assembleRelease(type: Sync) {
   from tasks.prepareGitRev
   from tasks.assembleSourceTgz
   from distTarTask
-  from distZipTask
 
   from tasks.computeChecksums
 

Reply via email to