Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Optionally disable loading gradle from gradle wrapper #917

Merged
merged 1 commit into from
May 14, 2019
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 4 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -109,6 +109,10 @@ The following settings are supported:
* `java.codeGeneration.toString.listArrayContents`: List contents of arrays instead of using native toString(). Defaults to `true`.
* `java.codeGeneration.toString.limitElements`: Limit number of items in arrays/collections/maps to list, if 0 then list all. Defaults to `0`.

*New in 0.45.0:*
* `java.import.gradle.wrapper.enabled`: Enable/disable the Gradle wrapper.
* `java.import.gradle.version`: Gradle version, used if the gradle wrapper is missing or disabled.

Troubleshooting
===============
1. Check the status of the language tools on the lower right corner (marked with A on image below).
Expand Down
16 changes: 14 additions & 2 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -114,16 +114,28 @@
"description": "Traces the communication between VS Code and the Java language server.",
"scope": "window"
},
"java.import.maven.enabled": {
"type": "boolean",
"default": true,
"description": "Enable/disable the Maven importer.",
"scope": "window"
},
"java.import.gradle.enabled": {
"type": "boolean",
"default": true,
"description": "Enable/disable the Gradle importer.",
"scope": "window"
},
"java.import.maven.enabled": {
"java.import.gradle.wrapper.enabled": {
"type": "boolean",
"default": true,
"description": "Enable/disable the Maven importer.",
"description": "Enable/disable the Gradle wrapper.",
"scope": "window"
},
"java.import.gradle.version": {
"type": "string",
"default": null,
"description": "Gradle version, used if the gradle wrapper is missing or disabled.",
"scope": "window"
},
"java.maven.downloadSources": {
Expand Down