Today I am going to show you how to setup Gradle in STS (Spring Tool Sute).

STS Gradle :

We can install the Gradle in STS using the STS Dashboard. To install the Gradle in STS we need to have the below requirements.

Requirements :

  • The STS version should be 2.7.M1 or later based on Eclipse 3.6.2 or Eclipse 3.7.
  • Eclipse should be 3.6.2 or later. (The required components of STS will be pulled while installing the Gradle).

If you met the above requirements, now you are free to set up the Gradle in STS.

Please follow the below steps to install.

Steps to install Gradle in STS :

Step – 1 :

Open your STS Dashboard from STS Help menu. By selecting the Dashboard you can see the below screen.

Sts Gradle Extensions

Step – 2:

Now you can select the IDE Extensions, the Extensions page will open like below.

STS Gradle

Step – 3:

Give the Gradle keyword on search bar. It will give the Gradle Support Dependency Management. select the Gradle Support and click next.

STS Gradle 2

It will ask to check the installed options. Check the Gradle IDE and click next.

Step – 4:

STS Gradle 3

Accept the licence and click Finish. It will take some time be patient.

Step – 5 :

After successfully installing, it will ask to restart the STS. You should accept the restart, then only the changes will apply.

Step – 6 :

Now you can check, you can confirm this by importing the project. You can see the Gradle (STS) like below.

STS Gradle Installed

This is how we can install Gradle in STS.

Happy Learning 🙂

One Comment

  1. Arya April 18, 2019 at 4:42 pm - Reply

    Thank you for the article, but when I search for Gradle in the Spring Extensions screen, nothing shows up.

Leave A Comment