Skip to content

Commit 8724807

Browse files
committed
Update documentation to reflect CDS work
Closes gh-39834
1 parent c662e9b commit 8724807

File tree

5 files changed

+6
-12
lines changed

5 files changed

+6
-12
lines changed

spring-boot-project/spring-boot-tools/spring-boot-gradle-plugin/src/docs/antora/modules/gradle-plugin/examples/packaging/boot-jar-layered-exclude-tools.gradle

+1-3
Original file line numberDiff line numberDiff line change
@@ -9,8 +9,6 @@ tasks.named("bootJar") {
99

1010
// tag::layered[]
1111
tasks.named("bootJar") {
12-
layered {
13-
includeLayerTools = false
14-
}
12+
includeTools = false
1513
}
1614
// end::layered[]

spring-boot-project/spring-boot-tools/spring-boot-gradle-plugin/src/docs/antora/modules/gradle-plugin/examples/packaging/boot-jar-layered-exclude-tools.gradle.kts

+1-3
Original file line numberDiff line numberDiff line change
@@ -11,8 +11,6 @@ tasks.named<BootJar>("bootJar") {
1111

1212
// tag::layered[]
1313
tasks.named<BootJar>("bootJar") {
14-
layered {
15-
includeLayerTools.set(false)
16-
}
14+
includeTools.set(false)
1715
}
1816
// end::layered[]

spring-boot-project/spring-boot-tools/spring-boot-gradle-plugin/src/docs/antora/modules/gradle-plugin/pages/packaging.adoc

+1-1
Original file line numberDiff line numberDiff line change
@@ -376,7 +376,7 @@ include::example$packaging/boot-jar-layered-disabled.gradle.kts[tags=layered]
376376
----
377377
======
378378

379-
When a layered jar or war is created, the `spring-boot-jarmode-layertools` jar will be added as a dependency to your archive.
379+
When a layered jar or war is created, the `spring-boot-jarmode-tools` jar will be added as a dependency to your archive.
380380
With this jar on the classpath, you can launch your application in a special mode which allows the bootstrap code to run something entirely different from your application, for example, something that extracts the layers.
381381
If you wish to exclude this dependency, you can do so in the following manner:
382382

spring-boot-project/spring-boot-tools/spring-boot-maven-plugin/src/docs/antora/modules/maven-plugin/examples/packaging/exclude-dependency-pom.xml

+1-3
Original file line numberDiff line numberDiff line change
@@ -7,9 +7,7 @@
77
<groupId>org.springframework.boot</groupId>
88
<artifactId>spring-boot-maven-plugin</artifactId>
99
<configuration>
10-
<layers>
11-
<includeLayerTools>false</includeLayerTools>
12-
</layers>
10+
<includeTools>false</includeTools>
1311
</configuration>
1412
</plugin>
1513
</plugins>

spring-boot-project/spring-boot-tools/spring-boot-maven-plugin/src/docs/antora/modules/maven-plugin/pages/packaging.adoc

+2-2
Original file line numberDiff line numberDiff line change
@@ -254,9 +254,9 @@ include::example$packaging/exclude-artifact-group-pom.xml[tags=exclude-artifact-
254254

255255

256256
[[packaging.examples.layered-archive-tools]]
257-
=== Layered Archive Tools
257+
=== JAR Tools
258258

259-
When a layered jar or war is created, the `spring-boot-jarmode-layertools` jar will be added as a dependency to your archive.
259+
When a layered jar or war is created, the `spring-boot-jarmode-tools` jar will be added as a dependency to your archive.
260260
With this jar on the classpath, you can launch your application in a special mode which allows the bootstrap code to run something entirely different from your application, for example, something that extracts the layers.
261261
If you wish to exclude this dependency, you can do so in the following manner:
262262

0 commit comments

Comments
 (0)