Declare and configure repositories for all projects.
This commit is contained in:
24
build.gradle
24
build.gradle
@@ -5,14 +5,34 @@ buildscript {
|
|||||||
}
|
}
|
||||||
repositories {
|
repositories {
|
||||||
gradlePluginPortal()
|
gradlePluginPortal()
|
||||||
maven { url 'https://repo.spring.io/libs-release' }
|
maven { url 'https://repo.spring.io/release' }
|
||||||
maven { url 'https://repo.spring.io/plugins-snapshot' }
|
maven { url 'https://repo.spring.io/plugins-snapshot' }
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
apply plugin: 'io.spring.convention.root'
|
apply plugin: 'io.spring.convention.root'
|
||||||
|
|
||||||
group = 'org.springframework.session'
|
allprojects {
|
||||||
|
|
||||||
|
group = 'org.springframework.session'
|
||||||
|
|
||||||
|
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 Session for Apache Geode'
|
description = 'Spring Session for Apache Geode'
|
||||||
|
|
||||||
ext['groovy.version'] = "$groovyVersion"
|
ext['groovy.version'] = "$groovyVersion"
|
||||||
|
|||||||
@@ -1,7 +1,3 @@
|
|||||||
repositories {
|
|
||||||
maven { url "https://repo.spring.io/libs-snapshot" }
|
|
||||||
}
|
|
||||||
|
|
||||||
dependencyManagement {
|
dependencyManagement {
|
||||||
imports {
|
imports {
|
||||||
mavenBom "org.springframework.boot:spring-boot-dependencies:$springBootVersion"
|
mavenBom "org.springframework.boot:spring-boot-dependencies:$springBootVersion"
|
||||||
|
|||||||
Reference in New Issue
Block a user