We don't configure the relevant repositories for buildSrc so using a commercial-only dependency will fail.

Comment From: snicoll

Problem with this approach is that repo.spring.io is going to be unnecessarily configured when the build type is OSS