Allow spring-boot-image-tests to run without an existing snapshot
Closes gh-28817pull/28830/head
parent
cd4d08d8c0
commit
4bd86a6e20
@ -1,7 +1,22 @@
|
||||
pluginManagement {
|
||||
repositories {
|
||||
exclusiveContent {
|
||||
forRepository {
|
||||
maven { url '{systemTestMavenRepository}' }
|
||||
}
|
||||
filter {
|
||||
includeGroup "org.springframework.boot"
|
||||
}
|
||||
}
|
||||
maven { url 'https://repo.spring.io/milestone' }
|
||||
maven { url 'https://repo.spring.io/snapshot' }
|
||||
gradlePluginPortal()
|
||||
}
|
||||
resolutionStrategy {
|
||||
eachPlugin {
|
||||
if (requested.id.id == "org.springframework.boot") {
|
||||
useModule "org.springframework.boot:spring-boot-gradle-plugin:${requested.version}"
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
Loading…
Reference in New Issue