Skip to content

Commit a2378e1

Browse files
committed
Merge branch '3.3.x'
Closes gh-41271
2 parents 1521258 + 9984dc1 commit a2378e1

File tree

3 files changed

+3
-3
lines changed

3 files changed

+3
-3
lines changed

spring-boot-project/spring-boot-tools/spring-boot-gradle-plugin/src/docs/antora/modules/gradle-plugin/examples/packaging/boot-build-image-env-proxy.gradle.kts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@ plugins {
77

88
// tag::env[]
99
tasks.named<BootBuildImage>("bootBuildImage") {
10-
environment.set(mapOf("HTTP_PROXY" to "http://proxy.example.com",
10+
environment.putAll(mapOf("HTTP_PROXY" to "http://proxy.example.com",
1111
"HTTPS_PROXY" to "https://proxy.example.com"))
1212
}
1313
// end::env[]

spring-boot-project/spring-boot-tools/spring-boot-gradle-plugin/src/docs/antora/modules/gradle-plugin/examples/packaging/boot-build-image-env-runtime.gradle.kts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@ plugins {
77

88
// tag::env-runtime[]
99
tasks.named<BootBuildImage>("bootBuildImage") {
10-
environment.set(mapOf(
10+
environment.putAll(mapOf(
1111
"BPE_DELIM_JAVA_TOOL_OPTIONS" to " ",
1212
"BPE_APPEND_JAVA_TOOL_OPTIONS" to "-XX:+HeapDumpOnOutOfMemoryError"
1313
))

spring-boot-project/spring-boot-tools/spring-boot-gradle-plugin/src/docs/antora/modules/gradle-plugin/examples/packaging/boot-build-image-env.gradle.kts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@ plugins {
77

88
// tag::env[]
99
tasks.named<BootBuildImage>("bootBuildImage") {
10-
environment.set(environment.get() + mapOf("BP_JVM_VERSION" to "17"))
10+
environment.put("BP_JVM_VERSION", "17")
1111
}
1212
// end::env[]
1313

0 commit comments

Comments
 (0)