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
- Open VS Code,
- Press: ⌘ Command + Shift + X (Control + Shift + X on Windows) to open Extenstions,
- Now type in Gradle for Java, click on install,
- And you are good to go!

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

Provide Feedback For This Article
We take your feedback seriously and use it to improve our content. Thank you for helping us serve you better!
😊 Thanks for your time, your feedback has been registered!
Comments & Discussion
Facing issues? Have questions? Post them here! We're happy to help!