diff options
-rw-r--r-- | build.gradle | 4 |
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) |