anchor.diff:  NOTE: If you use annotation processors, you need to explicitly declare them in order for compilation avoidance to work.
   To learn more, check out the <<java_plugin.adoc#sec:java_compile_avoidance,compile avoidance documentation>>.
   
  -== Android projects
  +== Optimize Android projects
   
   Everything on this page applies to Android builds, since Android builds use Gradle.
   Yet Android introduces unique opportunities for optimization.
  
positive.code: ----
  ====
  
  == Java projects
  
  The following sections apply only to projects that use the `java` plugin or another JVM language.
  
  
negative.code: - Create _aggregate tasks_: tasks with no action that only depend on other tasks, such as `assemble`
  - Defer configuration via `gradle.taskGraph.whenReady()` and others, so you can perform verification only when it's necessary
  
  == Increase the heap size
  
  By default, Gradle reserves 1GB of heap space for your build. This is plenty for most projects.
  However, some very large builds might need more memory to hold Gradle's model and caches.
  