-
Notifications
You must be signed in to change notification settings - Fork 4.6k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Spring Boot plugin requires Gradle 6.8.x, 6.9.x, or 7.x. The current version is Gradle 6.4 (On Gradle 7.4!) #19896
Comments
That seems strange. If you generate a project in https://start.spring.io/, it definitely works. Any chance your project is/was in an old version of gradle and you tried Also, the logic is owned by spring boot and not really Gradle itself -> https://github.com/spring-projects/spring-boot/blob/main/spring-boot-project/spring-boot-tools/spring-boot-gradle-plugin/src/main/java/org/springframework/boot/gradle/plugin/SpringBootPlugin.java#L99-L105 |
Ah. This does work, and changing the property file directly works too!
|
Seems like the problem is solved, pls. let us know otherwise. |
Hmm, I still think it may be gradle
If this says 6.4, then GradleVersion.current() is what is returning that value. |
Are you sure you are running the wrapper ( |
Ah! You are right, sorry for the confusion. my installed gradle happened to be 6.4. After updating that version, I have no issues. Thanks! |
Thanks, the solution works fine for me!! |
I am using spring boot 2.6.2. The filter is wrong.
Spring Boot plugin requires Gradle 6.8.x, 6.9.x, or 7.x. The current version is Gradle 6.4
--
And this is after i typed:
"gradle wrapper --gradle-version 7.4"
Which is weird because it's saying 6.4, but it should be detecting 7.4.
The text was updated successfully, but these errors were encountered: