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

@@ -28,13 +28,10 @@ bootJar {
manifest {
attributes(
'Implementation-Version': '1.0.0',
'Implementation-Title': "Paketo Test"
'Implementation-Title': 'Paketo Test',
// This shouldn't be necessary.
// See https://github.com/spring-projects/spring-boot/issues/42338
'Spring-Boot-Native-Processed': 'true'
)
}
}
bootBuildImage {
environment = ['BP_NATIVE_IMAGE': 'true',
//see https://github.com/paketo-buildpacks/native-image/issues/321
'BP_NATIVE_IMAGE_BUILD_ARGUMENTS': '-H:-AddAllFileSystemProviders']
}