Browse Source

Allow native spring-boot-image-tests to run without an existing snapshot

Closes gh-38757
pull/38818/head
Scott Frederick 2 years ago
parent
commit
823054f543
  1. 2
      spring-boot-system-tests/spring-boot-image-tests/src/systemTest/resources/org/springframework/boot/image/paketo/settings.gradle

2
spring-boot-system-tests/spring-boot-image-tests/src/systemTest/resources/org/springframework/boot/image/paketo/settings.gradle

@ -14,7 +14,7 @@ pluginManagement { @@ -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}"
}
}

Loading…
Cancel
Save