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.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"
|
||||
|
||||
@@ -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"
|
||||
|
||||
Reference in New Issue
Block a user