Ok, the last problem. Gradle only checks jcenter r...
# gradle
c
Ok, the last problem. Gradle only checks jcenter repository and ignores all the rest:
Copy code
repositories {
	mavenLocal()
	jcenter()
	maven(url = "<https://repo.spring.io/milestone>")
	maven(url = "<https://repo.spring.io/libs-milestone>")
	maven(url = "<https://repo.spring.io/libs-snapshot>")
}
Copy code
dependencies {
	listOf(
			// stuff omitted for brevity
			"org.springframework.boot:spring-boot-starter-security",
			"org.springframework.security:spring-security-web",
			"org.springframework.security:spring-security-config"
	).forEach { compile(it) }
Copy code
$ ./gradlew classes

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