File tree Expand file tree Collapse file tree 2 files changed +12
-10
lines changed Expand file tree Collapse file tree 2 files changed +12
-10
lines changed Original file line number Diff line number Diff line change @@ -6,20 +6,15 @@ plugins {
66description = ' Java CF Env Documentation'
77
88configurations {
9- docs
9+ asciidoctorExtensions
1010}
1111
1212dependencies {
13- docs " io.spring.docresources :spring-doc-resources :0.2.5@zip "
13+ asciidoctorExtensions " io.spring.asciidoctor.backends :spring-asciidoctor-backends :0.0.7 "
1414}
1515
1616task prepareAsciidocBuild (type : Sync ) {
17- dependsOn configurations. docs
18- // copy doc resources
19- from {
20- configurations. docs. collect { zipTree(it) }
21- }
22- // and doc sources
17+ // Copy doc sources
2318 from " src/main/asciidoc"
2419 // to a temporary build directory
2520 into " $buildDir /asciidoc"
Original file line number Diff line number Diff line change 11pluginManagement {
2+ resolutionStrategy {
3+ eachPlugin {
4+ if (requested. id. namespace?. startsWith(' org.asciidoctor.jvm' )) {
5+ useVersion(" 4.0.3" )
6+ }
7+ }
8+ }
29 plugins {
310 id " io.spring.nohttp" version " 0.0.11"
4- id ' org.asciidoctor.jvm.pdf' version ' 4.0.3 '
5- id ' org.asciidoctor.jvm.convert' version ' 4.0.3 '
11+ id ' org.asciidoctor.jvm.pdf'
12+ id ' org.asciidoctor.jvm.convert'
613 }
714}
815
You can’t perform that action at this time.
0 commit comments