summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorYves Fischer <yvesf-git@xapek.org>2016-12-19 22:36:47 +0100
committerYves Fischer <yvesf-git@xapek.org>2016-12-19 22:36:47 +0100
commite6767779c535ccfddcff5a7708bed8e7f8f7411b (patch)
tree1fff50aabfb67ba4da3ba7c501f7b47e9aa79857
parent759aceb4a7bd0185004873f6db1d902fbc1d3fb8 (diff)
downloaddebian-packages-master.tar.gz
debian-packages-master.zip
only execute verify if download was executedHEADmaster
-rw-r--r--build.gradle4
1 files changed, 4 insertions, 0 deletions
diff --git a/build.gradle b/build.gradle
index beb42c7..fed86ec 100644
--- a/build.gradle
+++ b/build.gradle
@@ -96,6 +96,10 @@ subprojects {
verifyTask.src downloadTask.dest
verifyTask.algorithm 'SHA-256'
verifyTask.checksum params.sha256
+ verifyTask.onlyIf {
+ // only verify if download was executed
+ !downloadTask.state.skipped
+ }
downloadTask.finalizedBy(verifyTask)