Gradle installation requires less code, as the following snippet shows:
repositories { maven { url 'https://repo.spring.io/libs-milestone' } } dependencies { compile 'org.springframework:spring-context:5.0.0.RC4' }