Update documentation to reflect CDS work
Closes gh-39834
This commit is contained in:
@@ -9,8 +9,6 @@ tasks.named("bootJar") {
|
||||
|
||||
// tag::layered[]
|
||||
tasks.named("bootJar") {
|
||||
layered {
|
||||
includeLayerTools = false
|
||||
}
|
||||
includeTools = false
|
||||
}
|
||||
// end::layered[]
|
||||
|
||||
@@ -11,8 +11,6 @@ tasks.named<BootJar>("bootJar") {
|
||||
|
||||
// tag::layered[]
|
||||
tasks.named<BootJar>("bootJar") {
|
||||
layered {
|
||||
includeLayerTools.set(false)
|
||||
}
|
||||
includeTools.set(false)
|
||||
}
|
||||
// end::layered[]
|
||||
|
||||
@@ -376,7 +376,7 @@ include::example$packaging/boot-jar-layered-disabled.gradle.kts[tags=layered]
|
||||
----
|
||||
======
|
||||
|
||||
When a layered jar or war is created, the `spring-boot-jarmode-layertools` jar will be added as a dependency to your archive.
|
||||
When a layered jar or war is created, the `spring-boot-jarmode-tools` jar will be added as a dependency to your archive.
|
||||
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.
|
||||
If you wish to exclude this dependency, you can do so in the following manner:
|
||||
|
||||
|
||||
Reference in New Issue
Block a user