-
Notifications
You must be signed in to change notification settings - Fork 57
Description
I have a project that uses annotations, with an annotation processor that needs some configuration. The Gradle plugin itself uses several "-AX=Y" options to pass this configuration to the compiler.
NetBeans with the netbeans-gradle-project plugin finds the annotation processor and seems to call it when syntax-checking editor contents, but without those options, which results in the processor emitting warnings/errors, which in turn get marked as errors in the editor.
As far as I can tell, the org/netbeans/gradle/project/java/query/GradleAnnotationProcessingQuery.java file is responsible for configuring the annotation processor, and as that class has a processorOptions() method which always returns an empty map, there's no configuration option, not even a hard-to-find or hidden one, to configure those options.
Unfortunately, I know way too little about the netbeans ecosystem to create a PR myself, but I hope this won't be too hard to implement for someone who does.