Skip to content

Commit 1fde05a

Browse files
authored
Fix generating docker exports by triggering assemble (#133475) (#133484)
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 6e865c3 commit 1fde05a

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
@@ -651,6 +651,11 @@ subprojects { Project subProject ->
651651
dependsOn compressExportTask
652652
}
653653

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

0 commit comments

Comments
 (0)