Skip to content

Commit 63fb292

Browse files
authored
Fix generating docker exports by triggering assemble (elastic#133475) (elastic#133482)
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 c2a2fb4 commit 63fb292

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
@@ -574,6 +574,11 @@ subprojects { Project subProject ->
574574
dependsOn compressExportTask
575575
}
576576

577+
tasks.named('assemble').configure {
578+
dependsOn exportTask
579+
}
580+
581+
// deprecated here for backwards compatibility of DistroTestPlugin and DistributionDownloadPlugin
577582
artifacts.add('default', file(tarFile)) {
578583
type = 'tar'
579584
name = artifactName

0 commit comments

Comments
 (0)