From 978c06df746914a8b9dc783de5c360e47c191620 Mon Sep 17 00:00:00 2001 From: Roy Clarkson Date: Wed, 19 Mar 2025 15:22:43 -0400 Subject: [PATCH] Search for spring gradle plugin milestones in the snapshot repo --- settings.gradle | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) 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" } } }