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.
This commit is contained in:
Gareth Clay
2020-07-03 16:11:58 +01:00
committed by Gareth Clay
parent 81ec2f15a3
commit 7372df4eef

View File

@@ -37,10 +37,7 @@ allprojects {
if (!version.endsWith('RELEASE')) {
maven { url "https://repo.spring.io/milestone" }
}
if (version.endsWith('BUILD-SNAPSHOT') ||
project.hasProperty("springFrameworkVersion") ||
project.hasProperty("springBootVersion") ||
project.hasProperty("reactorVersion")) {
if (version.endsWith('BUILD-SNAPSHOT')) {
maven { url "https://repo.spring.io/snapshot" }
}
}