Declare and configure repositories for all projects.
This commit is contained in:
24
build.gradle
24
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')
|
||||
|
||||
Reference in New Issue
Block a user