diff --git a/system-test/spring-boot-image-system-tests/src/systemTest/java/org/springframework/boot/image/paketo/PaketoBuilderTests.java b/system-test/spring-boot-image-system-tests/src/systemTest/java/org/springframework/boot/image/paketo/PaketoBuilderTests.java index d2e7d5259ed..3c33ab0f01e 100644 --- a/system-test/spring-boot-image-system-tests/src/systemTest/java/org/springframework/boot/image/paketo/PaketoBuilderTests.java +++ b/system-test/spring-boot-image-system-tests/src/systemTest/java/org/springframework/boot/image/paketo/PaketoBuilderTests.java @@ -315,6 +315,8 @@ class PaketoBuilderTests { // these deprecations are from native image buildpacks this.gradleBuild.expectDeprecationMessages("Using a deprecated option --report-unsupported-elements-at-runtime", "The option is deprecated and will be removed in the future."); + this.gradleBuild + .expectDeprecationMessages("Using a Project object as a dependency notation has been deprecated"); writeMainClass(); String imageName = "paketo-integration/" + this.gradleBuild.getProjectDir().getName(); ImageReference imageReference = ImageReference.of(ImageName.of(imageName));