summaryrefslogtreecommitdiff
path: root/build.gradle
diff options
context:
space:
mode:
Diffstat (limited to 'build.gradle')
-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)