Files
spring-cloud-contract/samples/standalone/restdocs/http-server/settings.gradle
Marcin Grzejszczak eec0c07437 Fixed the Gradle setup
- updated Gradle to 8.3
- downgraded Spring Framework JAR in the SCC Gradle plugin due to https://github.com/gradle/gradle/issues/25434
2023-09-06 14:30:56 +02:00

23 lines
759 B
Groovy

pluginManagement {
repositories {
mavenLocal()
maven { url "https://repo.spring.io/snapshot" }
maven { url "https://repo.spring.io/milestone" }
gradlePluginPortal()
}
plugins {
id 'org.springframework.boot' version "${bootVersion}"
id "io.spring.dependency-management" version "1.1.3"
}
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-restdocs-gradle'