Files
Marcin Grzejszczak ca39fdb021 Removes any references to repo.spring.io/release
fixes gh-2106
2024-05-06 15:02:25 +02:00

25 lines
795 B
Groovy

// tag::repos[]
pluginManagement {
repositories {
mavenLocal()
maven { url "https://repo.spring.io/snapshot" }
maven { url "https://repo.spring.io/milestone" }
gradlePluginPortal()
}
// end::repos[]
plugins {
id "org.springframework.boot" version "${bootVersion}"
id "io.spring.dependency-management" version "1.0.10.RELEASE"
}
resolutionStrategy {
eachPlugin {
// protects us in case the gradle-portal-plugin hasn't yet been published by Maven
if (requested.id.id == 'org.springframework.cloud.contract') {
useModule("org.springframework.cloud:spring-cloud-contract-gradle-plugin:${verifierVersion}")
}
}
}
}
rootProject.name = 'http-server-dsl-gradle'