96cda0b9a7 | ||
---|---|---|
.github | ||
.vscode | ||
images | ||
java-gradle-tasks | ||
resources | ||
snippets | ||
src | ||
test-fixtures | ||
.eslintignore | ||
.eslintrc.js | ||
.gitignore | ||
.npmrc | ||
.nvmrc | ||
.prettierignore | ||
.prettierrc.js | ||
.vscodeignore | ||
CHANGELOG.md | ||
CONTRIBUTING.md | ||
LICENSE.md | ||
README.md | ||
icon.png | ||
package-lock.json | ||
package.json | ||
tsconfig.json |
README.md
vscode-gradle
Run Gradle tasks in VS Code.
Features
- Run Gradle tasks as VS Code tasks
- List & run Gradle tasks in the Explorer
- Multi-root workspace folders supported
- Groovy/Kotlin build files supported
- Multi-project builds supported
Note: Local Gradle wrapper executables must exist at the root of the workspace folders (either
./gradlew
or.\gradlew.bat
, depending on your environment).
Extension Settings
This extension contributes the following settings:
gradle.autoDetect
: Automatically detect Gradle tasksgradle.enableTasksExplorer
: Enable an explorer view for Gradle tasks
Snippets
This extensions provides snippets for the groovy and kotlin build files:
cgt
: Create a new Gradle task
Slow Task Provider Warning
Since vscode v1.40 you will see warning notifications when the Gradle task provider takes too long.
It can take a while to refresh the Gradle tasks, so you should permanently ignore this warning by clicking on "Don't warn again for Gradle tasks", or add the following to your settings.json
:
"task.slowProviderWarning": [
"gradle"
]
Credits
- Originally forked from Cazzar/vscode-gradle
- Heavily inspired by the built-in npm extension
Release Notes
See CHANGELOG.md
License
See LICENSE.md