2019-10-21 20:33:13 +03:00
# vscode-gradle
2019-10-20 12:42:47 +03:00
2019-10-27 18:54:14 +03:00
< a href = "https://marketplace.visualstudio.com/items?itemName=richardwillis.vscode-gradle" > ![Marketplace extension](https://img.shields.io/visual-studio-marketplace/i/richardwillis.vscode-gradle)< / a >
2019-10-23 19:18:24 +03:00
Run gradle tasks in VS Code.
2019-10-20 18:53:00 +03:00
2019-10-27 19:02:01 +03:00
![Screencat ](images/screencast.gif )
2019-10-20 19:18:21 +03:00
2019-10-23 19:18:24 +03:00
## Features
2019-10-21 20:58:12 +03:00
2019-10-25 22:01:37 +03:00
- Run gradle tasks as [VS Code tasks ](https://code.visualstudio.com/docs/editor/tasks )
2019-10-30 22:19:30 +03:00
- List & run gradle tasks in the Explorer
2019-10-26 20:19:20 +03:00
- Multi-root workspaces supported
2019-10-30 22:19:30 +03:00
- Default Groovy/Kotlin and custom build files supported
2019-10-21 20:58:12 +03:00
2019-10-27 18:42:39 +03:00
> **Note:** Local gradle wrapper executables must exist at the root of the workspace folders (either `./gradlew` or `.\gradlew.bat`, depending on your environment).
2019-10-20 19:18:21 +03:00
2019-10-27 18:42:39 +03:00
## Settings
2019-10-20 19:18:21 +03:00
```json
2019-10-30 22:19:30 +03:00
"gradle.autoDetect": "on", // Automatically detect gradle tasks
"gradle.tasksArgs": "--all", // Custom gradle tasks arguments
"gradle.enableTasksExplorer": true, // Enable an explorer view for gradle tasks
"gradle.customBuildFile": "" // Custom gradle build filename
2019-10-21 20:33:13 +03:00
```
2019-10-20 18:53:00 +03:00
## Credits
2019-10-30 22:19:30 +03:00
- Originally forked from [Cazzar/vscode-gradle ](https://github.com/Cazzar/vscode-gradle ).
- Heavily inspired by the built-in [npm extension ](https://github.com/microsoft/vscode/tree/master/extensions/npm ).
2019-10-20 18:53:00 +03:00
## License
See [LICENSE.md ](./LICENSE.md ).