Skip to content

Commit 7372df4

Browse files
committed
Remove snapshot repo logic for version overrides
We have no way of doing version overrides any more. Also I made all the explicit versions into properties, so keeping Boot in the list would mean the snapshot repo is always added, which isn't what we want.
1 parent 81ec2f1 commit 7372df4

File tree

1 file changed

+1
-4
lines changed

1 file changed

+1
-4
lines changed

build.gradle

Lines changed: 1 addition & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -37,10 +37,7 @@ allprojects {
3737
if (!version.endsWith('RELEASE')) {
3838
maven { url "https://repo.spring.io/milestone" }
3939
}
40-
if (version.endsWith('BUILD-SNAPSHOT') ||
41-
project.hasProperty("springFrameworkVersion") ||
42-
project.hasProperty("springBootVersion") ||
43-
project.hasProperty("reactorVersion")) {
40+
if (version.endsWith('BUILD-SNAPSHOT')) {
4441
maven { url "https://repo.spring.io/snapshot" }
4542
}
4643
}

0 commit comments

Comments
 (0)