Open nakamura-to opened 2 months ago
In your Gradle script the configuration of the JDT Annotation Processing (APT) is done by the Gradle plugin com.diffplug.eclipse.apt
and not Eclipse Buildship. Any problems with this plugin should be reported here: https://github.com/diffplug/goomph/issues
The problem seems to be an unsupported combination of using Buildship (e.g. Refresh Gradle Project) and standalone project generation (cleanEclipse
, eclipse
).
Using the standalone project generator you could try these steps:
eclipse
(with synchronizationTasks
) from your build.gradle
../gradlew eclipse
Now the configured processor option should be shown in the Annotation Processing dialog.
Expected Behavior
When the "Refresh Gradle Project" command is executed, the Processor options specified in build.gradle are displayed on the Annotation Processing screen.
Current Behavior
When the "Refresh Gradle Project" command is executed, the Processor options specified in build.gradle are reflected in the .settings/org.eclipse.jdt.apt.core.prefs file, but they are not reflected on the Annotation Processing screen.
Context
I want to use synchronizationTasks to ensure that all settings related to annotation processing are reflected from Gradle to Eclipse.
Steps to Reproduce
You will notice that the processorOptions remain empty in the Annotation Processing screen.
Your Environment