Summary

spring-security-core-5.0.0.M4 Artifact is not correctly uploaded in jcenter. Only .pom and .pom.asc files exist. Build failed due to gradle unable to find jar files.

17:07:27.461 * What went wrong:
17:07:27.461 Could not resolve all files for configuration ':compileClasspath'.
17:07:27.461 > Could not find spring-security-core.jar (org.springframework.security:spring-security-core:5.0.0.M4).
17:07:27.462   Searched in the following locations:
17:07:27.462       https://jcenter.bintray.com/org/springframework/security/spring-security-core/5.0.0.M4/spring-security-core-5.0.0.M4.jar

I've added https://repo.spring.io/milestone as top priority to be a workaround.

Version

5.0.0.M4

Comment From: rwinch

Thank you for the report @krnaveen14!

We did not place any artifacts in jcenter and suspect this is something broken on JFrog side (i.e. they are syncing improperly from repo.spring.io). We logged a ticket with JFrog to get this corrected and they are looking into it.