mirror of
https://github.com/spring-projects/spring-boot.git
synced 2024-07-05 00:56:58 +08:00
Merge branch '3.2.x' into 3.3.x
Closes gh-41270
This commit is contained in:
commit
9984dc16a9
|
@ -7,7 +7,7 @@ plugins {
|
|||
|
||||
// tag::env[]
|
||||
tasks.named<BootBuildImage>("bootBuildImage") {
|
||||
environment.set(mapOf("HTTP_PROXY" to "http://proxy.example.com",
|
||||
environment.putAll(mapOf("HTTP_PROXY" to "http://proxy.example.com",
|
||||
"HTTPS_PROXY" to "https://proxy.example.com"))
|
||||
}
|
||||
// end::env[]
|
||||
|
|
|
@ -7,7 +7,7 @@ plugins {
|
|||
|
||||
// tag::env-runtime[]
|
||||
tasks.named<BootBuildImage>("bootBuildImage") {
|
||||
environment.set(mapOf(
|
||||
environment.putAll(mapOf(
|
||||
"BPE_DELIM_JAVA_TOOL_OPTIONS" to " ",
|
||||
"BPE_APPEND_JAVA_TOOL_OPTIONS" to "-XX:+HeapDumpOnOutOfMemoryError"
|
||||
))
|
||||
|
|
|
@ -7,7 +7,7 @@ plugins {
|
|||
|
||||
// tag::env[]
|
||||
tasks.named<BootBuildImage>("bootBuildImage") {
|
||||
environment.set(environment.get() + mapOf("BP_JVM_VERSION" to "17"))
|
||||
environment.put("BP_JVM_VERSION", "17")
|
||||
}
|
||||
// end::env[]
|
||||
|
||||
|
|
Loading…
Reference in New Issue
Block a user