top of page
Writer's picturePéter Földházi Jr.

How to Setup Gradle in VS Code

Setting up Gradle in VS Code is pretty easy and rewarding. You only need to install and enable the Gradle for Java extension, then initialize Gradle from the terminal.


Gradle for Java extension

You can reach it from a browser through the official marketplace or you can find it inside VS Code under the Extensions. Download and install it, that's it!


Initialize Gradle for your Project

If you initialize a project in Git, then import it into VS Code, then it should something like this.


Just open the terminal, and type in: gradle init

After this you should select library (3), Java (3), Groovy (1), JUnit Jupiter (4), then hit enter twice.


After this, you have all the necessary Gradle files ready at your service. Enjoy!


27 views0 comments

Comments


bottom of page