Declare and configure repositories for all projects.

This commit is contained in:
John Blum
2020-11-17 11:11:48 -08:00
parent c29d6e3f15
commit 4f7821d629
2 changed files with 22 additions and 10 deletions

View File

@@ -11,8 +11,28 @@ buildscript {
apply plugin: 'io.spring.convention.root'
group = 'org.springframework.geode'
description = 'Spring Boot for Apache Geode & VMware Tanzu GemFire'
allprojects {
group = 'org.springframework.geode'
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 Boot for Apache Geode'
//ext['spring.version'] = "$springVersion"
//ext['spring-framework.version'] = "$springVersion"

View File

@@ -2,14 +2,6 @@ apply plugin: 'io.spring.convention.spring-test'
description = "Smoke Tests to assert that a Spring for Apache Geode project generated from Spring Initializer is a standard, non-Webapp Spring Boot application."
/*
repositories {
mavenCentral()
maven { url 'https://repo.spring.io/milestone' }
maven { url 'https://repo.spring.io/snapshot' }
}
*/
dependencies {
implementation "org.assertj:assertj-core"