Skip to content

Commit 13a441d

Browse files
committed
Declare and configure repositories for all projects.
1 parent 7151aad commit 13a441d

File tree

1 file changed

+22
-2
lines changed

1 file changed

+22
-2
lines changed

build.gradle

Lines changed: 22 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -11,8 +11,28 @@ buildscript {
1111

1212
apply plugin: 'io.spring.convention.root'
1313

14-
group = 'org.springframework.data'
15-
description = 'Spring Test Framework for Apache Geode and Pivotal GemFire using Spring Data.'
14+
allprojects {
15+
16+
group = 'org.springframework.data'
17+
18+
repositories {
19+
20+
mavenCentral()
21+
22+
if (version.contains('-')) {
23+
maven { url "https://repo.spring.io/milestone" }
24+
}
25+
if (version.endsWith('-SNAPSHOT')) {
26+
maven { url "https://repo.spring.io/snapshot" }
27+
}
28+
}
29+
30+
configurations.all {
31+
resolutionStrategy.cacheChangingModulesFor 0, "minutes"
32+
}
33+
}
34+
35+
description = 'Spring Test Framework for Apache Geode and VMware Tanzu GemFire using Spring Data.'
1636

1737
ext['spring.version'] = "$springVersion"
1838
ext['spring-framework.version'] = "$springVersion"

0 commit comments

Comments
 (0)