[SOLVED] Spring Boot plugin requires Gradle 4.0 or later. The current version is Gradle X.X

This guide shows you how to update Gradle from improper version to the required one.

Problem

Unable to execute Gradle task because of the message:

 

Cause

Wrong Gradle Wrapper configuration or outdated Gradle version installed.

 

Solution A – Gradle Wrapper

Open gradle/wrapper/gradle-wrapper.properties and change  distributionUrl  property to 4.6  version.

 

Solution B – Gradle stand-alone

Upgrade Gradle to version 4.0 or above. You can download it from here.

 

Leave a Reply

1 Comment on "[SOLVED] Spring Boot plugin requires Gradle 4.0 or later. The current version is Gradle X.X"

avatar
  Subscribe  
newest oldest most voted
Notify of
trackback

[…] First of all you have to upgrade Gradle Wpapper to use Gradle 4.0 or later what I described here. Then you have to edit build.gradle  and add exact version to the Spring Boot […]

Close Menu