Polish repository configuration

This commit is contained in:
Andy Wilkinson
2022-04-12 10:47:36 +01:00
parent e8d5e8ae7a
commit 170e9c5b5c
2 changed files with 6 additions and 4 deletions

View File

@@ -8,10 +8,13 @@ plugins {
allprojects {
group = "org.springframework.restdocs"
repositories {
mavenLocal()
mavenCentral()
maven { url "https://repo.spring.io/milestone" }
maven { url "https://repo.spring.io/snapshot" }
if (version.contains('-')) {
maven { url "https://repo.spring.io/milestone" }
}
if (version.endsWith('-SNAPSHOT')) {
maven { url "https://repo.spring.io/snapshot" }
}
}
}

View File

@@ -1,6 +1,5 @@
pluginManagement {
repositories {
mavenLocal()
mavenCentral()
maven { url "https://repo.spring.io/plugins-release-local" }
maven { url "https://repo.spring.io/release" }