Skip to content

Commit

Permalink
fix
Browse files Browse the repository at this point in the history
  • Loading branch information
DavideD committed Sep 10, 2024
1 parent 16baf7b commit 3a54e46
Showing 1 changed file with 11 additions and 9 deletions.
20 changes: 11 additions & 9 deletions documentation/build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -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";

Expand Down Expand Up @@ -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'
}

// ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
Expand Down

0 comments on commit 3a54e46

Please sign in to comment.