Skip to content

Instantly share code, notes, and snippets.

@h1romas4
Last active December 22, 2017 13:04
Show Gist options
  • Save h1romas4/98d97dff728817d13d366c501e8ebc13 to your computer and use it in GitHub Desktop.
Save h1romas4/98d97dff728817d13d366c501e8ebc13 to your computer and use it in GitHub Desktop.
VS Code タスク機能で gradle を呼び出す定義
{
// See https://go.microsoft.com/fwlink/?LinkId=733558
// for the documentation about the tasks.json format
"version": "2.0.0",
"tasks": [
{
"label": "gradlew build",
"type": "shell",
"command": "./gradlew build",
"windows": {
"command": ".\\gradlew.bat build"
},
"problemMatcher": []
},
{
"label": "gradlew bootRun",
"type": "shell",
"command": "./gradlew bootRun",
"windows": {
"command": ".\\gradlew.bat bootRun"
},
"problemMatcher": []
},
{
"label": "gradlew webpack",
"type": "shell",
"command": "./gradlew webpack",
"windows": {
"command": ".\\gradlew.bat webpack"
},
"problemMatcher": []
},
{
"label": "gradlew watch",
"type": "shell",
"command": "./gradlew watch",
"windows": {
"command": ".\\gradlew.bat watch"
},
"problemMatcher": []
}
]
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment