Skip to content

Commit 31ac5a9

Browse files
authored
Fix generating docker exports by triggering assemble (elastic#133475) (elastic#133486)
The kibana team relies on using `:distribution:docker:docker-export:assemble` which has been broken after the gradle 9.0 update due to the (by now known) change in behaviour of not tying default artifacts to the assemble task anymore. The recommended fix is, setting this up explicitly.
1 parent 1dd28b2 commit 31ac5a9

File tree

1 file changed

+5
-0
lines changed

1 file changed

+5
-0
lines changed

distribution/docker/build.gradle

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -652,6 +652,11 @@ subprojects { Project subProject ->
652652
dependsOn compressExportTask
653653
}
654654

655+
tasks.named('assemble').configure {
656+
dependsOn exportTask
657+
}
658+
659+
// deprecated here for backwards compatibility of DistroTestPlugin and DistributionDownloadPlugin
655660
artifacts.add('default', file(tarFile)) {
656661
type = 'tar'
657662
name = artifactName

0 commit comments

Comments
 (0)