From 3a54e467e2753e80514ed28049d4f4780b0a8ef8 Mon Sep 17 00:00:00 2001 From: Davide D'Alto Date: Tue, 10 Sep 2024 15:19:07 +0200 Subject: [PATCH] fix --- documentation/build.gradle | 20 +++++++++++--------- 1 file changed, 11 insertions(+), 9 deletions(-) diff --git a/documentation/build.gradle b/documentation/build.gradle index 89ea613e6..1340e0517 100644 --- a/documentation/build.gradle +++ b/documentation/build.gradle @@ -50,6 +50,8 @@ def aggregateJavadocsTask = tasks.register( 'aggregateJavadocs', Javadoc ) { use = true options.encoding = 'UTF-8' + logger.lifecycle "---- Aggregating javadoc with version $project.version" + def matcher = hibernateOrmVersion =~ /\d+\.\d+/ def ormMinorVersion = matcher.find() ? matcher.group() : "5.6"; @@ -117,15 +119,15 @@ def renderReferenceDocumentationTask = tasks.register( 'renderReferenceDocumenta outputDir = project.layout.buildDirectory.dir( "asciidoc/reference/html_single" ).get().asFile options logDocuments: true - doFirst { - attributes icons: 'font', - 'source-highlighter': 'rouge', - experimental: true, - linkcss: true, - majorMinorVersion: project.version.family, - fullVersion: project.version.toString(), - docinfo: 'private' - } + logger.lifecycle "---- Rendering docs with version $project.version" + + attributes icons: 'font', + 'source-highlighter': 'rouge', + experimental: true, + linkcss: true, + majorMinorVersion: project.version.family, + fullVersion: project.version.toString(), + docinfo: 'private' } // ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~