Skip to content

Commit 3e0beb6

Browse files
authored
Merge pull request #18 from badsyntax/release-notes
Release notes
2 parents ce28108 + 075d462 commit 3e0beb6

File tree

4 files changed

+42
-14
lines changed

4 files changed

+42
-14
lines changed

CHANGELOG.md

Lines changed: 27 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,27 @@
1+
# Change Log
2+
3+
## 2.1.0
4+
5+
- Custom build file support
6+
- Fix background refreshing process when explorer is closed
7+
8+
## 2.0.0
9+
10+
- Gradle tasks now run as VS Codes
11+
- Improvements to the Gradle Tasks Explorer
12+
- Auto-discover gradle wrapper executable
13+
- Fefactored to follow vscode exteiion standards
14+
15+
## 1.1.0
16+
17+
- Add treeview explorer to list & run gradle tasks
18+
19+
## 1.0.0
20+
21+
- Process registry - to kill tasks
22+
- Tasks registry
23+
- Refresh tasks on extension activation
24+
- Activate extension if build.gradle found
25+
- Better error feedback
26+
- Linting and formatting
27+
- Upgraded packages

README.md

Lines changed: 14 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -15,20 +15,24 @@ Run gradle tasks in VS Code.
1515

1616
> **Note:** Local gradle wrapper executables must exist at the root of the workspace folders (either `./gradlew` or `.\gradlew.bat`, depending on your environment).
1717
18-
## Settings
18+
## Extension Settings
1919

20-
```json
21-
"gradle.autoDetect": "on", // Automatically detect gradle tasks
22-
"gradle.tasksArgs": "--all", // Custom gradle tasks arguments
23-
"gradle.enableTasksExplorer": true, // Enable an explorer view for gradle tasks
24-
"gradle.customBuildFile": "" // Custom gradle build filename
25-
```
20+
This extension contributes the following settings:
21+
22+
- `gradle.autoDetect`: Automatically detect gradle tasks
23+
- `gradle.tasksArgs`: Custom gradle tasks arguments
24+
- `gradle.enableTasksExplorer`: Enable an explorer view for gradle tasks
25+
- `gradle.customBuildFile`: Custom gradle build filename
2626

2727
## Credits
2828

29-
- Originally forked from [Cazzar/vscode-gradle](https://github.com/Cazzar/vscode-gradle).
30-
- Heavily inspired by the built-in [npm extension](https://github.com/microsoft/vscode/tree/master/extensions/npm).
29+
- Originally forked from [Cazzar/vscode-gradle](https://github.com/Cazzar/vscode-gradle)
30+
- Heavily inspired by the built-in [npm extension](https://github.com/microsoft/vscode/tree/master/extensions/npm)
31+
32+
## Release Notes
33+
34+
See [CHANGELOG.md](./CHANGELOG.md)
3135

3236
## License
3337

34-
See [LICENSE.md](./LICENSE.md).
38+
See [LICENSE.md](./LICENSE.md)

package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -101,7 +101,7 @@
101101
"view/item/context": [
102102
{
103103
"command": "gradle.runTask",
104-
"when": "view == gradle"
104+
"when": "view == gradle && viewItem == task"
105105
}
106106
]
107107
},

src/gradleView.ts

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -62,9 +62,6 @@ class GradleTaskItem extends TreeItem {
6262
}
6363
};
6464
this.contextValue = 'task';
65-
if (task.group && task.group === TaskGroup.Rebuild) {
66-
this.contextValue = 'debugScript';
67-
}
6865
this.buildGradle = buildGradle;
6966
this.task = task;
7067
this.command = commandList[command];

0 commit comments

Comments
 (0)