You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@lucene.apache.org by dw...@apache.org on 2021/04/08 13:00:25 UTC
[lucene] branch main updated: LUCENE-9872: load input/output
checksums prior to executing the target task,
even if regenerate is not called.
This is an automated email from the ASF dual-hosted git repository.
dweiss pushed a commit to branch main
in repository https://gitbox.apache.org/repos/asf/lucene.git
The following commit(s) were added to refs/heads/main by this push:
new 4c2384a LUCENE-9872: load input/output checksums prior to executing the target task, even if regenerate is not called.
4c2384a is described below
commit 4c2384a1f352094a2f208dd354240f56e782da1d
Author: Dawid Weiss <da...@carrotsearch.com>
AuthorDate: Thu Apr 8 15:00:20 2021 +0200
LUCENE-9872: load input/output checksums prior to executing the target task, even if regenerate is not called.
---
gradle/generation/regenerate.gradle | 3 +++
1 file changed, 3 insertions(+)
diff --git a/gradle/generation/regenerate.gradle b/gradle/generation/regenerate.gradle
index 2f7b8b5..72dfa36 100644
--- a/gradle/generation/regenerate.gradle
+++ b/gradle/generation/regenerate.gradle
@@ -168,6 +168,9 @@ configure([
}
})
+ // Load checksums before the source task executes, otherwise it's always ignored.
+ sourceTask.dependsOn checksumLoadTask
+
// Copy the description and group from the source task.
project.afterEvaluate {
conditionalTask.group sourceTask.group