From 823054f5431da635cf8b8c60b0578ea200b29a1d Mon Sep 17 00:00:00 2001 From: Scott Frederick Date: Tue, 12 Dec 2023 15:42:37 -0600 Subject: [PATCH] Allow native spring-boot-image-tests to run without an existing snapshot Closes gh-38757 --- .../org/springframework/boot/image/paketo/settings.gradle | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/spring-boot-system-tests/spring-boot-image-tests/src/systemTest/resources/org/springframework/boot/image/paketo/settings.gradle b/spring-boot-system-tests/spring-boot-image-tests/src/systemTest/resources/org/springframework/boot/image/paketo/settings.gradle index 565cc8f9726..8cf6a26b51e 100644 --- a/spring-boot-system-tests/spring-boot-image-tests/src/systemTest/resources/org/springframework/boot/image/paketo/settings.gradle +++ b/spring-boot-system-tests/spring-boot-image-tests/src/systemTest/resources/org/springframework/boot/image/paketo/settings.gradle @@ -14,7 +14,7 @@ pluginManagement { } resolutionStrategy { eachPlugin { - if (requested.id.id == "org.springframework.boot") { + if (requested.id.id.startsWith("org.springframework.boot")) { useModule "org.springframework.boot:spring-boot-gradle-plugin:${requested.version}" } }