From e5f9bceda64f73a0d2c4d46e7f31bd550b24a59c Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Yoann=20Rodi=C3=A8re?= Date: Mon, 27 Oct 2025 10:46:40 +0100 Subject: [PATCH] HHH-19869 Fix handling of dialect guide in release.gradle --- release/release.gradle | 22 +++++++++++----------- 1 file changed, 11 insertions(+), 11 deletions(-) diff --git a/release/release.gradle b/release/release.gradle index 4a2a52ae48ce..1acbf309d86a 100644 --- a/release/release.gradle +++ b/release/release.gradle @@ -265,6 +265,16 @@ def stageMigrationGuideTask = tasks.register( "stageMigrationGuide", Copy ) { into rootProject.layout.buildDirectory.dir("staging-deploy/documentation/migration-guide") } +def stageDialectGuideTask = tasks.register( "stageDialectGuide", Copy ) { + group = 'documentation' + description = "Stages the Dialect Guide as part of assembling documentation in preparation for release" + + dependsOn ':documentation:renderDialectGuide' + + from project.provider { project( ":documentation" ).layout.buildDirectory.dir( "asciidoc/dialect" ) } + into rootProject.layout.buildDirectory.dir("staging-deploy/documentation/dialect") +} + def stageWhatsNewGuideTask = tasks.register( "stageWhatsNewGuide", Copy ) { group = 'documentation' description = "Stages the What's New guide as part of assembling documentation in preparation for release" @@ -316,16 +326,6 @@ def stageLoggingReportTask = tasks.register( "stageLoggingReport", Copy ) { task into rootProject.layout.buildDirectory.dir("staging-deploy/documentation/logging") } -def stageDialectReportTask = tasks.register( "stageDialectReport", Copy ) { task -> - group = 'documentation' - description = "Stages the supported Dialects report as part of assembling documentation in preparation for release" - - dependsOn ':documentation:renderDialectReport' - - from project( ":documentation" ).tasks.renderDialectReport - into rootProject.layout.buildDirectory.dir("staging-deploy/documentation/dialect") -} - def stageOrmReportsTask = tasks.register( "stageOrmReports" ) { group = 'documentation' description = "Stages all ORM reports as part of assembling documentation in preparation for release" @@ -335,7 +335,6 @@ def stageOrmReportsTask = tasks.register( "stageOrmReports" ) { dependsOn stageInternalsReportTask dependsOn stageDeprecationReportTask dependsOn stageLoggingReportTask - dependsOn stageDialectReportTask } def stageJavadocsTask = tasks.register( "stageJavadocs", Copy ) { @@ -367,6 +366,7 @@ def assembleDocumentationTask = tasks.register( "assembleDocumentation" ) { dependsOn stageIntegrationGuideTask dependsOn stageTopicalGuideTask dependsOn stageMigrationGuideTask + dependsOn stageDialectGuideTask dependsOn stageWhatsNewGuideTask dependsOn stageOrmReportsTask }