From c3b67b90660161319a34bdeb3bf81f97c412dbf1 Mon Sep 17 00:00:00 2001 From: "opensearch-trigger-bot[bot]" <98922864+opensearch-trigger-bot[bot]@users.noreply.github.com> Date: Tue, 25 Jul 2023 16:24:10 -0700 Subject: [PATCH] Extend publishXToMavenLocal explicit dependencies to all repo tasks (#8823) (#8882) * Extend publishXToMavenLocal explicit dependencies to all repo tasks * Simplify expression --------- (cherry picked from commit 96ce9de3a2ae45a1909cacea1aba93841c68a5c0) Signed-off-by: Christopher Cook Signed-off-by: ccook-ibm Signed-off-by: github-actions[bot] Co-authored-by: github-actions[bot] --- modules/lang-painless/build.gradle | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/modules/lang-painless/build.gradle b/modules/lang-painless/build.gradle index fc6fd91ed4ab9..669a5363d6294 100644 --- a/modules/lang-painless/build.gradle +++ b/modules/lang-painless/build.gradle @@ -84,8 +84,7 @@ shadowJar { tasks.validateNebulaPom.dependsOn tasks.generatePomFileForShadowPublication tasks.validateShadowPom.dependsOn tasks.generatePomFileForNebulaPublication -tasks.publishNebulaPublicationToMavenLocal.dependsOn tasks.generatePomFileForShadowPublication -tasks.publishShadowPublicationToMavenLocal.dependsOn tasks.generatePomFileForNebulaPublication +tasks.withType(AbstractPublishToMaven)*.dependsOn "generatePomFileForShadowPublication", "generatePomFileForNebulaPublication" tasks.named("dependencyLicenses").configure { mapping from: /asm-.*/, to: 'asm'