pluginManagement { evaluate(new File("${gradle.parent.rootProject.rootDir}/buildSrc/SpringRepositorySupport.groovy")).apply(this) repositories { maven { url "file:${rootDir}/../test-repository"} mavenCentral() spring.mavenRepositoriesExcludingBootGroup() } resolutionStrategy { eachPlugin { if (requested.id.id == "org.springframework.boot") { useModule "org.springframework.boot:spring-boot-gradle-plugin:${requested.version}" } } } }