Remove setting BP_NATIVE_IMAGE

Closes gh-32884
This commit is contained in:
Moritz Halbritter
2024-09-17 14:17:52 +02:00
parent 9ca857b1ba
commit 9294c003b4
7 changed files with 6 additions and 43 deletions

View File

@@ -152,7 +152,7 @@ Acceptable values are `ALWAYS`, `NEVER`, and `IF_NOT_PRESENT`.
| `environment`
|
| Environment variables that should be passed to the builder.
| Empty or `['BP_NATIVE_IMAGE': 'true']` when {url-native-build-tools-docs-gradle-plugin}[GraalVM Native Image plugin] is applied.
| Empty.
| `buildpacks`
|

View File

@@ -89,6 +89,6 @@ When the {url-native-build-tools-docs-gradle-plugin}[GraalVM Native Image plugin
. Configures the GraalVM extension to disable Toolchain detection.
. Configures each GraalVM native binary to require GraalVM 22.3 or later.
. Configures the `bootJar` task to include the reachability metadata produced by the `collectReachabilityMetadata` task in its jar.
. Configures the `bootBuildImage` task to set `BP_NATIVE_IMAGE` to `true` in its environment.
. Configures the `bootJar` task to add the `Spring-Boot-Native-Processed: true` manifest entry.