File tree Expand file tree Collapse file tree 1 file changed +8
-7
lines changed Expand file tree Collapse file tree 1 file changed +8
-7
lines changed Original file line number Diff line number Diff line change 34
34
linkScmUrl = ' https://github.com/spring-projects/spring-amqp'
35
35
linkScmConnection = ' git://github.com/spring-projects/spring-amqp.git'
36
36
linkScmDevConnection
= ' [email protected] :spring-projects/spring-amqp.git'
37
- docResourcesVersion = ' 0.2.1.RELEASE '
37
+ springAsciidoctorBackendsVersion = ' 0.0.3 '
38
38
39
39
modifiedFiles =
40
40
files(grgit. status(). unstaged. modified). filter{ f -> f. name. endsWith(' .java' ) || f. name. endsWith(' .kt' ) }
@@ -487,18 +487,15 @@ project('spring-rabbit-test') {
487
487
}
488
488
489
489
configurations {
490
- docs
490
+ asciidoctorExtensions
491
491
}
492
492
493
493
dependencies {
494
- docs " io.spring.docresources :spring-doc-resources :${ docResourcesVersion } @zip "
494
+ asciidoctorExtensions " io.spring.asciidoctor.backends :spring-asciidoctor-backends :${ springAsciidoctorBackendsVersion } "
495
495
}
496
496
497
497
task prepareAsciidocBuild (type : Sync ) {
498
- dependsOn configurations. docs
499
- from {
500
- configurations. docs. collect { zipTree(it) }
501
- }
498
+ dependsOn configurations. asciidoctorExtensions
502
499
duplicatesStrategy = DuplicatesStrategy . EXCLUDE
503
500
from ' src/reference/asciidoc/'
504
501
into " $buildDir /asciidoc"
@@ -529,6 +526,10 @@ asciidoctor {
529
526
dependsOn asciidoctorPdf
530
527
baseDirFollowsSourceFile()
531
528
sourceDir " $buildDir /asciidoc"
529
+ configurations ' asciidoctorExtensions'
530
+ outputOptions {
531
+ backends " spring-html"
532
+ }
532
533
resources {
533
534
from(sourceDir) {
534
535
include ' images/*' , ' css/**' , ' js/**'
You can’t perform that action at this time.
0 commit comments