Skip to content

Commit 970b6c3

Browse files
authored
Fix generating docker exports by triggering assemble (#133475) (#133483)
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 66c97aa commit 970b6c3

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
@@ -588,6 +588,11 @@ subprojects { Project subProject ->
588588
dependsOn compressExportTask
589589
}
590590

591+
tasks.named('assemble').configure {
592+
dependsOn exportTask
593+
}
594+
595+
// deprecated here for backwards compatibility of DistroTestPlugin and DistributionDownloadPlugin
591596
artifacts.add('default', file(tarFile)) {
592597
type = 'tar'
593598
name = artifactName

0 commit comments

Comments
 (0)