From 7279190c897b5c554e2e1cbd090f4c392653a1bd Mon Sep 17 00:00:00 2001 From: Dawid Weiss Date: Sun, 12 Apr 2020 13:32:54 +0200 Subject: [PATCH] LUCENE-9316: Incorporate all :precommit tasks into :check --- gradle/validation/precommit.gradle | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/gradle/validation/precommit.gradle b/gradle/validation/precommit.gradle index 94ed800cb28..79347646454 100644 --- a/gradle/validation/precommit.gradle +++ b/gradle/validation/precommit.gradle @@ -44,5 +44,9 @@ configure(rootProject) { ]} } } + + // Each validation task should be attached to check but make sure + // precommit() as a whole is a dependency on rootProject.check + check.dependsOn precommit }