Skip to content

Commit f5fcd1f

Browse files
committed
Update repository resolution order
1 parent d9a84e2 commit f5fcd1f

File tree

2 files changed

+4
-15
lines changed

2 files changed

+4
-15
lines changed

build.gradle

Lines changed: 2 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,6 @@ description = 'Spring Statemachine'
88

99
repositories {
1010
maven { url 'https://repo.spring.io/snapshot' }
11-
maven { url 'https://repo.spring.io/milestone' }
1211
maven { url 'https://repo.spring.io/release' }
1312
mavenCentral()
1413
}
@@ -17,14 +16,9 @@ allprojects {
1716
group = 'org.springframework.statemachine'
1817

1918
repositories {
20-
mavenCentral()
19+
maven { url 'https://repo.spring.io/snapshot' }
2120
maven { url 'https://repo.spring.io/release' }
22-
if (version.contains('-')) {
23-
maven { url "https://repo.spring.io/milestone" }
24-
}
25-
if (version.endsWith('-SNAPSHOT')) {
26-
maven { url "https://repo.spring.io/snapshot" }
27-
}
21+
mavenCentral()
2822
}
2923

3024
configurations.all {

settings.gradle

Lines changed: 2 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -1,14 +1,9 @@
11
pluginManagement {
22
repositories {
3+
maven { url 'https://repo.spring.io/snapshot' }
4+
maven { url 'https://repo.spring.io/release' }
35
mavenCentral()
46
gradlePluginPortal()
5-
maven { url 'https://repo.spring.io/release' }
6-
if (version.contains('-')) {
7-
maven { url 'https://repo.spring.io/milestone' }
8-
}
9-
if (version.endsWith('-SNAPSHOT')) {
10-
maven { url 'https://repo.spring.io/snapshot' }
11-
}
127
}
138
plugins {
149
id 'org.springframework.boot' version "$springBootVersion"

0 commit comments

Comments
 (0)