Merge pull request #521 from jojoldu

* gh-521:
  Configure bootJar task to add documentation to Spring Boot fat jar
This commit is contained in:
Andy Wilkinson
2018-06-26 09:23:03 +01:00
5 changed files with 5 additions and 5 deletions

View File

@@ -245,7 +245,7 @@ from where it will be included in the jar file.
[source,indent=0,role="secondary"]
.Gradle
----
jar {
bootJar {
dependsOn asciidoctor <1>
from ("${asciidoctor.outputDir}/html5") { <2>
into 'static/docs'

View File

@@ -58,7 +58,7 @@ asciidoctor {
dependsOn test
}
jar {
bootJar {
dependsOn asciidoctor
from ("${asciidoctor.outputDir}/html5") {
into 'static/docs'

View File

@@ -50,7 +50,7 @@ asciidoctor {
dependsOn test
}
jar {
bootJar {
dependsOn asciidoctor
from ("${asciidoctor.outputDir}/html5") {
into 'static/docs'

View File

@@ -56,7 +56,7 @@ asciidoctor {
dependsOn test
}
jar {
bootJar {
dependsOn asciidoctor
from ("${asciidoctor.outputDir}/html5") {
into 'static/docs'

View File

@@ -55,7 +55,7 @@ asciidoctor {
dependsOn test
}
jar {
bootJar {
dependsOn asciidoctor
from ("${asciidoctor.outputDir}/html5") {
into 'static/docs'