Broaden compatibility testing for Asciidoctor 2.x

Closes gh-630
This commit is contained in:
Andy Wilkinson
2019-09-13 12:58:11 +01:00
parent 3597ebc35a
commit 66787cd3a5
8 changed files with 16 additions and 15 deletions

View File

@@ -6,7 +6,7 @@ configurations {
dependencies {
merge project(':spring-restdocs-asciidoctor-1.5')
merge project(':spring-restdocs-asciidoctor-1.6')
merge project(':spring-restdocs-asciidoctor-2.0')
merge project(':spring-restdocs-asciidoctor-2.x')
testCompile 'org.apache.pdfbox:pdfbox'
testCompile 'org.asciidoctor:asciidoctorj:1.5.8.1'
testCompile 'org.assertj:assertj-core'
@@ -18,7 +18,7 @@ dependencies {
jar {
dependsOn ':spring-restdocs-asciidoctor-1.5:jar'
dependsOn ':spring-restdocs-asciidoctor-1.6:jar'
dependsOn ':spring-restdocs-asciidoctor-2.0:jar'
dependsOn ':spring-restdocs-asciidoctor-2.x:jar'
from configurations.merge.collect { file -> zipTree(file) }
}
@@ -26,6 +26,6 @@ matrixTest {
asciidoctorj {
group = 'org.asciidoctor'
artifact = 'asciidoctorj'
versions = [ asciidoctorj16Version, asciidoctorj20Version ]
versions = [ asciidoctorj16Version, asciidoctorj20Version, asciidoctorj21Version ]
}
}

View File

@@ -1 +1 @@
org.springframework.restdocs.asciidoctor.RestDocsAsciidoctorJ20ExtensionRegistry
org.springframework.restdocs.asciidoctor.RestDocsAsciidoctorJ2xExtensionRegistry