It appears as if the spring-boot-gradle-plugin artifact was not released for 3.2.1. It's missing on maven central:
https://mvnrepository.com/artifact/org.springframework.boot/spring-boot-gradle-plugin
This breaks gradle in very strange ways, when using the below config. (It falls back on a cached version but behaves strange)
buildscript {
repositories {
mavenCentral()
maven { url "https://repo.spring.io/snapshot" }
maven { url "https://repo.spring.io/milestone" }
}
dependencies {
classpath("org.springframework.boot:spring-boot-gradle-plugin:3.2.1")
}
}
I was hunting for the cause way too long. 🙈
Comment From: bclozel
If I'm not mistaken, the gradle plugin is deployed on the Gradle plugin repository as it should and Gradle should resolve from this location. I can also see the bits deployed on Maven Central. I mvnrepository.com is a third party index that does not keep up with Central at all time?
I'm closing this issue as a result. If there are still issues with this, please provide a sample application and error logs so we can have a look.