Right, of course, that's why I said `or`:
```
repositories {
	if (version.endsWith('BUILD-SNAPSHOT') || project.hasProperty('platformVersion')) {
		maven { url 'http://repo.spring.io/libs-snapshot' }
	}
...
```
see line 28

Or do you mean something other ?