To Create a Gradle Java Project in VS Code you will first need to install the Gradle Extenstion,
✏️ Install Gradle for Java on VS Code
Example: Gradle Java Project in VS Code
- Open Palette,
Mac: ⌘ Command + Shift + P
Windiws: Control + Shift + P
- Now Type: > Gradle Create Java Project
- Select the folder where you want to create the project,
- Now you will see DSL options Kotlin/Groovy, select any you prefer, I selected Groovy,
- Now input the name of your project eg. demo
- You should see an alert, Create Gradle project, this would take a while!
- You should now see the Java Gradle Project Structure ready (with settings.gradle, build.gradle, and gradlew) under the explorer.

Have Questions? Post them here!
- Installing Gradle on macOS - Gradle Tutorial
- Install Gradle VS Code for Java Projects
- Adding Jackson dependency to Java Gradle Project
- Gradle FAILURE: Build failed with an exception - Task not found in root project
- Fix: Unsupported Java. Your build is currently configured to use Java 17.0.5 and Gradle 7.1.
- Fix: Invalid Gradle JDK configuration found. Could not find the required JavaSDK
- Run IntelliJ Java main method without Gradle build
- How to Clear Gradle Cache on Mac
- Create a Gradle Java Project in VS Code
- How to run Gradle build in offline mode
- Fix: Deprecated Gradle features were used in this build, making it incompatible with Gradle
- Fix: Spring Boot + IntelliJ + Gradle : Unsupported class file major version 64 Error
- Find installed Gradle version command
- Task is ambiguous in root project gradle-examples. Candidates are: myTask1, myTask2
- How to create Gradle Multi-Project in IntelliJ
- Generate Project Dependency tree using Gradle Command
- How to add to PATH in macOS Big Sur - MacOS
- macOS: Change Weather App Temperature unit from Fahrenheit to Degree - MacOS
- clear is not recognized as an internal or external command operable program or batch file. - DOS
- Fix - zsh: command not found: conda [macOS] - zsh
- Portable Notepad++ for windows - NotepadPlusPlus
- How to minimize all Windows in Mac - MacOS
- Show Chrome Developer Console Keyboard Shortcut on macOS - Chrome
- Java get day of the week as an int using DayOfWeek - Java