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

Closes gh-38757
This commit is contained in:
Scott Frederick 2023-12-12 15:42:37 -06:00
parent b8021dbc65
commit 823054f543

View File

@ -14,7 +14,7 @@ pluginManagement {
} }
resolutionStrategy { resolutionStrategy {
eachPlugin { 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}" useModule "org.springframework.boot:spring-boot-gradle-plugin:${requested.version}"
} }
} }