File tree Expand file tree Collapse file tree 2 files changed +9
-3
lines changed Expand file tree Collapse file tree 2 files changed +9
-3
lines changed Original file line number Diff line number Diff line change @@ -9,8 +9,12 @@ allprojects {
9
9
10
10
repositories {
11
11
mavenCentral()
12
- maven { url " https://repo.spring.io/milestone" }
13
- maven { url " https://repo.spring.io/snapshot" }
12
+ if (! version. endsWith(' RELEASE' )) {
13
+ maven { url " https://repo.spring.io/milestone" }
14
+ }
15
+ if (version. endsWith(' BUILD-SNAPSHOT' )) {
16
+ maven { url " https://repo.spring.io/snapshot" }
17
+ }
14
18
}
15
19
16
20
configurations. all {
Original file line number Diff line number Diff line change @@ -2,7 +2,9 @@ pluginManagement {
2
2
repositories {
3
3
mavenCentral()
4
4
gradlePluginPortal()
5
- maven { url " https://repo.spring.io/snapshot" }
5
+ if (version. endsWith(' BUILD-SNAPSHOT' )) {
6
+ maven { url " https://repo.spring.io/snapshot" }
7
+ }
6
8
}
7
9
resolutionStrategy {
8
10
eachPlugin {
You can’t perform that action at this time.
0 commit comments