diff --git a/settings.gradle b/settings.gradle index 890208e..a182e77 100644 --- a/settings.gradle +++ b/settings.gradle @@ -23,8 +23,8 @@ pluginManagement { } repositories { gradlePluginPortal() - maven { url "https://repo.spring.io/plugins-release" } - if (version.endsWith('-SNAPSHOT')) { + mavenCentral() + if (version =~ /((-M|-RC)[0-9]+|-SNAPSHOT)$/) { maven { url "https://repo.spring.io/plugins-snapshot" } } }