
You can toggle the display of the tasks by clicking on the Show Flat List/ Show Tree button in the tree view header. When you expand a project, tasks are listed in a tree, grouped by the task group. Projects are listed in a flat list with the root project listed first, and sub-projects listed alphabetically thereafter. List projects and tasksĪ Gradle build can have one or more projects. Access the Gradle VS Code tasks by running Run Task from the command palette. You can also run any Gradle task as a VS Code task. This is especially useful for pinned tasks. Protip: you can move drag & drop any of these tree views into the main explorer view for easier access. Clicking on this icon will reveal some tree views in the sidebar. Once the extension is activated you will see a new Gradle icon in the activity bar. (Nested Gradle project discovery is not enabled by default, set "gradle.nestedProjects": true to enable it.) Feature Overview A Gradle project is identified by having Gradle Wrapper scripts ( gradlew or gradlew.bat) or Gradle build files ( adle or adle and their Kotlin versions) at the root of a directory. This extension supports both root and nested Gradle projects.

The extension works nicely alongside other Java extensions in the Extension Pack for Java.

adle) authoring experience including syntax highlighting, error reporting and auto completion. The extension also offers better Gradle file (e.g. You can use this interface to view Gradle Tasks and Project dependencies, or run Gradle Tasks as VS Code Task.

This VS Code extension provides a visual interface for your Gradle build.
