Enable GraalVM native Paketo Builder Tests on Java 22
Closes gh-40639
This commit is contained in:
parent
92f7414fad
commit
ed42ed7c43
|
|
@ -300,7 +300,6 @@ class PaketoBuilderTests {
|
||||||
}
|
}
|
||||||
|
|
||||||
@Test
|
@Test
|
||||||
@EnabledForJreRange(max = JRE.JAVA_17)
|
|
||||||
void nativeApp() throws Exception {
|
void nativeApp() throws Exception {
|
||||||
this.gradleBuild.expectDeprecationMessages("uses or overrides a deprecated API");
|
this.gradleBuild.expectDeprecationMessages("uses or overrides a deprecated API");
|
||||||
this.gradleBuild.expectDeprecationMessages("has been deprecated and marked for removal");
|
this.gradleBuild.expectDeprecationMessages("has been deprecated and marked for removal");
|
||||||
|
|
|
||||||
|
|
@ -34,5 +34,7 @@ bootJar {
|
||||||
}
|
}
|
||||||
|
|
||||||
bootBuildImage {
|
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']
|
||||||
}
|
}
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue