# Java annotation processing (build and Eclipse)

**URL:** <https://discuss.gradle.org/t/java-annotation-processing-build-and-eclipse/8613>\
**Category:** Help/Discuss\
**Tags:** eclipse\
**Created:** [April 5, 2015, 9:38pm UTC](https://discuss.gradle.org/t/java-annotation-processing-build-and-eclipse/8613 "2015-04-05T21:38:51Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![punya](https://sea1.discourse-cdn.com/gradle/user_avatar/discuss.gradle.org/punya/32/1960_2.png) [@punya](https://discuss.gradle.org/u/punya)\
**Post date:** [April 5, 2015, 9:38pm UTC](https://discuss.gradle.org/t/java-annotation-processing-build-and-eclipse/8613/1 "2015-04-05T21:38:51Z")

</div>

[This page](https://github.com/mkarneim/pojobuilder/wiki/Enabling-PojoBuilder-for-Eclipse-Using-Gradle) 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

```gradle
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.

---

<div class="post-metadata">

**Author:** ![luke\_daley](https://sea1.discourse-cdn.com/gradle/user_avatar/discuss.gradle.org/luke_daley/32/9890_2.png) [@luke\_daley](https://discuss.gradle.org/u/luke_daley)\
**Post date:** [April 5, 2015, 11:17pm UTC](https://discuss.gradle.org/t/java-annotation-processing-build-and-eclipse/8613/2 "2015-04-05T23:17:38Z")

</div>

There are no plans at this time to do this, but there is agreement that we could do better WRT annotation processing.

The first step towards improving this would be to start a discussion on how this should work. The best place to do this currently is the [development mailing list](https://gradle.org/contribute).

---

<div class="post-metadata">

**Author:** ![punya](https://sea1.discourse-cdn.com/gradle/user_avatar/discuss.gradle.org/punya/32/1960_2.png) [@punya](https://discuss.gradle.org/u/punya)\
**Post date:** [April 6, 2015, 4:31pm UTC](https://discuss.gradle.org/t/java-annotation-processing-build-and-eclipse/8613/3 "2015-04-06T16:31:11Z")

</div>

Thanks, I started a [discussion there](https://groups.google.com/forum/#!topic/gradle-dev/w3aQgjY7mQk).
