The Auto project has a set of common utilities to help ease use of the annotation processing environment.
Auto common utilities have a standard maven setup which can be used from Gradle, Ivy, Ant, or other systems which consume binary artifacts from the central maven repositories.
<dependency> <groupId>com.google.auto</groupId> <artifactId>auto-common</artifactId> <version>1.0-SNAPSHOT</version> <!-- or use a known release version --> </dependency>