Skip to content

Commit 78a9cdc

Browse files
committed
Merge pull request #21912 from eddumelendez
* gh-21912: Polish "Fix detection of snapshot version when configuring repositories" Fix detection of snapshot version when configuring repositories Closes gh-21912
2 parents ce4ef5e + 2990b69 commit 78a9cdc

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

build.gradle

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -20,7 +20,7 @@ allprojects {
2020
if (!version.endsWith('RELEASE')) {
2121
maven { url "https://repo.spring.io/milestone" }
2222
}
23-
if (version.endsWith('BUILD-SNAPSHOT')) {
23+
if (version.endsWith('-SNAPSHOT')) {
2424
maven { url "https://repo.spring.io/snapshot" }
2525
}
2626
}

settings.gradle

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@ pluginManagement {
55
maven {
66
url 'https://repo.spring.io/plugins-release'
77
}
8-
if (version.endsWith('BUILD-SNAPSHOT')) {
8+
if (version.endsWith('-SNAPSHOT')) {
99
maven { url "https://repo.spring.io/snapshot" }
1010
}
1111
}

0 commit comments

Comments
 (0)