pluginManagement { repositories { maven { url "file:${rootDir}/../test-repository"} mavenCentral() maven { url "https://repo.spring.io/milestone" content { excludeGroup "org.springframework.boot" } } maven { url "https://repo.spring.io/snapshot" content { excludeGroup "org.springframework.boot" } } } resolutionStrategy { eachPlugin { if (requested.id.id == "org.springframework.boot") { useModule "org.springframework.boot:spring-boot-gradle-plugin:${requested.version}" } } } }