diff --git a/build.gradle b/build.gradle index 8b0f509..2382e9c 100644 --- a/build.gradle +++ b/build.gradle @@ -11,8 +11,28 @@ buildscript { apply plugin: 'io.spring.convention.root' -group = 'org.springframework.data' -description = 'Spring Test Framework for Apache Geode and Pivotal GemFire using Spring 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.releaseBuild = version.endsWith('RELEASE') ext.snapshotBuild = version.endsWith('SNAPSHOT')