Skip to content

Commit 29e44ab

Browse files
committed
HHH-19827 Update AsciidoctorJ config
- do not pull rouge gem as it comes bundled with AsciidoctorJ distribution - override AsciidoctorJ version - bump pdf dependency version to the latest
1 parent b7bd345 commit 29e44ab

File tree

1 file changed

+5
-7
lines changed

1 file changed

+5
-7
lines changed

documentation/documentation.gradle

Lines changed: 5 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -23,15 +23,13 @@ plugins {
2323

2424
id "org.hibernate.orm.build.reports"
2525

26-
id 'org.asciidoctor.jvm.convert' version '4.0.2'
27-
id 'org.asciidoctor.jvm.pdf' version '4.0.2'
28-
id "org.asciidoctor.jvm.gems" version "4.0.2"
26+
id 'org.asciidoctor.jvm.convert' version '4.0.5'
27+
id 'org.asciidoctor.jvm.pdf' version '4.0.5'
2928
id "org.hibernate.orm.build.settings-doc"
3029
}
3130

3231
repositories {
3332
mavenCentral()
34-
ruby.gems()
3533
}
3634

3735
def hibernateVersion = ormBuildDetails.hibernateVersion
@@ -135,8 +133,6 @@ dependencies {
135133
reportAggregation project(':hibernate-maven-plugin')
136134
reportAggregation project(':hibernate-processor')
137135

138-
asciidoctorGems 'rubygems:rouge:4.1.1'
139-
140136
core project( ':hibernate-core' )
141137
javadocSources project( path: ':hibernate-core', configuration: 'javadocSources' )
142138

@@ -227,9 +223,11 @@ def aggregateJavadocsTask = tasks.register( "javadoc", Javadoc ) {
227223

228224
asciidoctorj {
229225
requires 'rouge'
226+
// Set version of AsciidoctorJ (plugin is currently uses 2.5.7 ? by default)
227+
version '3.0.0'
230228
modules {
231229
pdf {
232-
version '2.3.7'
230+
version '2.3.18'
233231
}
234232
}
235233
attributes icons: 'font',

0 commit comments

Comments
 (0)