Skip to content

Commit 3a192ef

Browse files
committed
Upgrade Asciidoctor
- asciidoctor-gradle-plugin to 4.0.5 - asciidoctorj to 3.0.1 - replace Groovy DSL extension with org.firebirdsql.asciidoctor:canonical-link:1.0
1 parent 1b78916 commit 3a192ef

2 files changed

Lines changed: 9 additions & 14 deletions

File tree

build.gradle

Lines changed: 9 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,7 @@ plugins {
1616
id 'nu.studer.credentials' version '3.0'
1717
id 'maven-publish'
1818
id 'signing'
19-
id 'org.asciidoctor.jvm.convert' version '4.0.4'
19+
id 'org.asciidoctor.jvm.convert' version '4.0.5'
2020
}
2121

2222
defaultTasks 'clean', 'build'
@@ -46,6 +46,10 @@ java {
4646
withSourcesJar()
4747
}
4848

49+
configurations {
50+
asciidoctorExt
51+
}
52+
4953
dependencies {
5054
api libs.jspecify
5155

@@ -66,6 +70,8 @@ dependencies {
6670
if (findProperty('test.chacha64') != 'disabled') {
6771
testRuntimeOnly project('chacha64-plugin')
6872
}
73+
74+
asciidoctorExt 'org.firebirdsql.asciidoctor:canonical-link:1.0'
6975
}
7076

7177
sourceSets {
@@ -99,12 +105,11 @@ processResources {
99105
}
100106

101107
asciidoctorj {
102-
version = '3.0.0'
103-
104-
docExtensions file('doc-extension.groovy')
108+
version = '3.0.1'
105109
}
106110

107111
tasks.named('asciidoctor', AsciidoctorTask).configure {
112+
configurations 'asciidoctorExt'
108113
executionMode = OUT_OF_PROCESS
109114
attributes 'version_simple': project.'version.simple',
110115
'version_wo_target': "${project.'version.simple'}${project.'version.tag'}",

doc-extension.groovy

Lines changed: 0 additions & 10 deletions
This file was deleted.

0 commit comments

Comments
 (0)