Merge branch '3.2.x'

Closes gh-40640
This commit is contained in:
Scott Frederick 2024-05-08 12:16:44 -05:00
commit 0f8062f901
2 changed files with 3 additions and 2 deletions

View File

@ -300,7 +300,6 @@ class PaketoBuilderTests {
}
@Test
@EnabledForJreRange(max = JRE.JAVA_17)
void nativeApp() throws Exception {
this.gradleBuild.expectDeprecationMessages("uses or overrides a deprecated API");
this.gradleBuild.expectDeprecationMessages("has been deprecated and marked for removal");

View File

@ -34,5 +34,7 @@ bootJar {
}
bootBuildImage {
environment = ['BP_NATIVE_IMAGE': 'true']
environment = ['BP_NATIVE_IMAGE': 'true',
//see https://github.com/paketo-buildpacks/native-image/issues/321
'BP_NATIVE_IMAGE_BUILD_ARGUMENTS': '-H:-AddAllFileSystemProviders']
}