From 5bd922886773be8088ef9cb00b2026eec3200543 Mon Sep 17 00:00:00 2001 From: Snjezana Peco Date: Wed, 8 May 2019 19:33:05 +0200 Subject: [PATCH] Optionally disable loading gradle from gradle wrapper Signed-off-by: Snjezana Peco --- README.md | 4 ++++ package.json | 16 ++++++++++++++-- 2 files changed, 18 insertions(+), 2 deletions(-) diff --git a/README.md b/README.md index b1629616a..4d2b5e8b4 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 d8442a54b..7a6cd0d17 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": {