From 4c56c9cfa1b19cd45f578dbbd6eb45ee9c5e9dca Mon Sep 17 00:00:00 2001 From: NipunaMadhushan Date: Tue, 21 Nov 2023 10:36:19 +0530 Subject: [PATCH] Fix task dependency issues --- jaeger-extension-ballerina/build.gradle | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/jaeger-extension-ballerina/build.gradle b/jaeger-extension-ballerina/build.gradle index 783f354..bed44b3 100644 --- a/jaeger-extension-ballerina/build.gradle +++ b/jaeger-extension-ballerina/build.gradle @@ -193,6 +193,9 @@ task ballerinaBuild { dependsOn jar dependsOn checkstyleMain dependsOn checkstyleTest + dependsOn spotbugsMain + dependsOn spotbugsTest + dependsOn ":jaeger-extension-ballerina:generatePomFileForMavenJavaPublication" inputs.dir file(project.projectDir) finalizedBy(revertTomlFile) @@ -260,6 +263,7 @@ task ballerinaPublish { dependsOn updateTomlVerions dependsOn ballerinaBuild dependsOn ":${packageName}-extension-tests:test" + dependsOn ":jaeger-extension-ballerina:generatePomFileForMavenJavaPublication" finalizedBy(revertTomlFile)