Skip to content

Commit ce62cb1

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 58d80cd commit ce62cb1

File tree

2 files changed

+10
-5
lines changed

2 files changed

+10
-5
lines changed

build.gradle

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

2020
defaultTasks 'clean', 'build'
@@ -44,6 +44,10 @@ java {
4444
withSourcesJar()
4545
}
4646

47+
configurations {
48+
asciidoctorExt
49+
}
50+
4751
dependencies {
4852
api libs.jspecify
4953

@@ -64,6 +68,8 @@ dependencies {
6468
if (findProperty('test.chacha64') != 'disabled') {
6569
testRuntimeOnly project('chacha64-plugin')
6670
}
71+
72+
asciidoctorExt 'org.firebirdsql.asciidoctor:canonical-link:1.0'
6773
}
6874

6975
sourceSets {
@@ -97,12 +103,11 @@ processResources {
97103
}
98104

99105
asciidoctorj {
100-
version = '3.0.0'
101-
102-
docExtensions file('doc-extension.groovy')
106+
version = '3.0.1'
103107
}
104108

105109
tasks.named('asciidoctor', AsciidoctorTask).configure {
110+
configurations 'asciidoctorExt'
106111
executionMode = OUT_OF_PROCESS
107112
attributes 'version_simple': project.'version.simple',
108113
'version_wo_target': "${project.'version.simple'}${project.'version.tag'}",

devdoc/publish.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@ Publishing
88
To publish to Maven use
99

1010
```
11-
gradlew clean dist assemble publish -PcredentialsPassphrase=<credentials password>
11+
gradlewclean dist assemble publish -PcredentialsPassphrase=<credentials password>
1212
```
1313
Where `<credentials password>` is the password used to add the credentials (see
1414
also below).

0 commit comments

Comments
 (0)