Install Gradle VS Code for Java Projects


If you want to work on Java Project on Visual Studio Code (VS Code) and want it to be a Gradle Project, you will need to install the Gradle extension.

Steps to install Gradle Extenstion in VS Code

  1. Open VS Code,
  2. Press: ⌘ Command + Shift + X (Control + Shift + X on Windows) to open Extenstions,
  3. Now type in Gradle for Java, click on install,
  4. And you are good to go!
Install Gradle on VS Code for Java Projects
Gradle Extension Details:
Name: Gradle for Java
Id: vscjava.vscode-gradle
Description: Manage Gradle Projects, run Gradle tasks and provide better Gradle file authoring experience in VS Code
Version: 3.12.4
Publisher: Microsoft
VS Marketplace Link: https://marketplace.visualstudio.com/items?itemName=vscjava.vscode-gradle

Now you can create a Gradle Java project by opening the Palette and typing Gradle: Create a Gradle Java Project

Create a Gradle Project in VS Code


Have Questions? Post them here!
Advertisements
Try Out Code2care Dev Tools:

Advertisements

Advertisements
Code2care is an initiative to publish and share varied knowledge in programming and technical areas gathered during day-to-day learnings and development activities.

Students and software developers can leverage this portal to find solutions to their various queries without re-inventing the wheel by referring to our easy to understand posts. Technical posts might include learnings, tutorials, trouble-shooting steps, video tutorials, code snippets, how-to, blogs, articles, etc.

🎉 We are celebrating the 10th years of Code2care! Thank you for all your support!

We strongly support Gender Equality & Diversity.