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.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-restdocs-gradle'