From 5b230e5880b545382f7476a11e4c431c8c25afb2 Mon Sep 17 00:00:00 2001 From: Usman Saleem Date: Thu, 7 Mar 2024 13:30:59 +1000 Subject: [PATCH] [build] - Update gradle build to make assemble invoke integration test compile task (#6688) Signed-off-by: Usman Saleem --- build.gradle | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/build.gradle b/build.gradle index a2fe6e5c25..6ad1bee41d 100644 --- a/build.gradle +++ b/build.gradle @@ -540,6 +540,13 @@ subprojects { dependencies { jmh 'org.slf4j:slf4j-api' } } + + // making sure assemble task invokes integration test compile + afterEvaluate { project -> + if (project.tasks.findByName('compileIntegrationTestJava')) { + project.tasks.assemble.dependsOn compileIntegrationTestJava + } + } } jar { enabled = false }