This page describes how to make Gradle’s eclipse
task populate the annotation processing factory path in Eclipse, so that IDE users can take advantage of annotation processing without having to switch context to Gradle. Are there any plans to make annotation processing a more first-class part of the Java project model in Gradle, and extend IDE support? Concretely, it would be cool if I could simply say
dependencies {
annotationProcessor 'com.google.auto.value:auto-value:1.0'
}
… and have ./gradlew build
, ./gradlew eclipse
and ./gradlew idea
work without further configuration.
I’d be happy to help with this if someone familiar with the code can provide a little guidance.