diff --git a/README.md b/README.md index b1629616ae..4d2b5e8b41 100644 --- a/README.md +++ b/README.md @@ -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). diff --git a/package.json b/package.json index d8442a54bc..7a6cd0d177 100644 --- a/package.json +++ b/package.json @@ -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": {