Configure bootJar task to add documentation to Spring Boot fat jar

Closes gh-521
This commit is contained in:
이동욱
2018-06-19 22:10:26 +09:00
committed by Andy Wilkinson
parent 2a1a3bcc7d
commit e7c59fdaf6
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'