Skip to content

Commit 83cc146

Browse files
authored
Support Gradle annotation processing (#2793)
Signed-off-by: Sheng Chen <[email protected]>
1 parent 4c15f7c commit 83cc146

File tree

2 files changed

+7
-0
lines changed

2 files changed

+7
-0
lines changed

README.md

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -214,6 +214,7 @@ The following settings are supported:
214214
New in 1.13.0
215215
* `java.compile.nullAnalysis.mode`: Specify how to enable the annotation-based null analysis. Supported values are `disabled` (disable the null analysis), `interactive` (asks when null annotation types are detected), `automatic` (automatically enable null analysis when null annotation types are detected). Defaults to `interactive`.
216216
* `java.cleanup.actionsOnSave`: The list of clean ups to be run on the current document when it's saved. Clean ups can automatically fix code style or programming mistakes. [Click here](document/_java.learnMoreAboutCleanUps.md#java-clean-ups) to learn more about what each clean up does.
217+
* `java.import.gradle.annotationProcessing.enabled`: Enable/disable the annotation processing on Gradle projects and delegate to JDT APT. Only works for Gradle 5.2 or higher.
217218

218219
Semantic Highlighting
219220
===============

package.json

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -328,6 +328,12 @@
328328
"description": "Setting for GRADLE_USER_HOME.",
329329
"scope": "window"
330330
},
331+
"java.import.gradle.annotationProcessing.enabled": {
332+
"type": "boolean",
333+
"default": true,
334+
"description": "Enable/disable the annotation processing on Gradle projects and delegate Annotation Processing to JDT APT. Only works for Gradle 5.2 or higher.",
335+
"scope": "window"
336+
},
331337
"java.maven.downloadSources": {
332338
"type": "boolean",
333339
"default": false,

0 commit comments

Comments
 (0)