From b52c95c12540e2ece02839290963fe74a9842be2 Mon Sep 17 00:00:00 2001 From: John Blum Date: Tue, 17 Nov 2020 12:45:23 -0800 Subject: [PATCH] Declare and configure repositories for all projects. --- build.gradle | 22 +++++++++++++++++++++- 1 file changed, 21 insertions(+), 1 deletion(-) diff --git a/build.gradle b/build.gradle index 8157cd5..f687811 100644 --- a/build.gradle +++ b/build.gradle @@ -11,7 +11,27 @@ buildscript { apply plugin: 'io.spring.convention.root' -group = 'org.springframework.data' +allprojects { + + group = 'org.springframework.data' + + repositories { + + mavenCentral() + + if (version.contains('-')) { + maven { url "https://repo.spring.io/milestone" } + } + if (version.endsWith('-SNAPSHOT')) { + maven { url "https://repo.spring.io/snapshot" } + } + } + + configurations.all { + resolutionStrategy.cacheChangingModulesFor 0, "minutes" + } +} + description = 'Spring Test Framework for Apache Geode and VMware Tanzu GemFire using Spring Data.' ext['spring.version'] = "$springVersion"