title: Gradle plugin confusion/conflict with AutoValue and FreeBuilder
body: <p>I am experimenting with Gradle/IntelliJ and various Java builders/containers. However, I am unable to configure both org.inferred.FreeBuilder and com.google.auto.value.AutoValue in the same project.</p>
  
  <p>With the build.gradle file below, I am able to successfully compile a class annatoted with AutoValue, (Animal example from AutoValue <a href="https://github.com/google/auto/blob/master/value/userguide/index.md#in-your-value-class" rel="nofollow noreferrer">documentation</a>). </p>
  
  <p>However, as soon as I uncomment "id 'org.inferred.processors" and "processor 'org.inferred:freebuilder:1.14.6'" I get </p>
  
  <blockquote>
    <p>:processorPath \main\java\example\com\Animal.java:12: error: cannot
    find symbol
            return new AutoValue_Animal(name, numberOfLegs);
                       ^   symbol:   class AutoValue_Animal   location: class Animal 1 error :compileJava FAILED</p>
  </blockquote>
  
  <pre><code>plugins {
      id 'java'
      id 'idea'
      id 'net.ltgt.apt-idea'  version '0.13'
      // id 'org.inferred.processors' version '1.2.15'
  }
  
  version '1.0-SNAPSHOT'
  
  sourceCompatibility = 1.8
  
  repositories {
      mavenCentral()
  }
  
  dependencies {
      compile 'com.google.auto.value:auto-value:1.5.1'
      apt 'com.google.auto.value:auto-value:1.5.1'
  
      //processor 'org.inferred:freebuilder:1.14.6'
  }
  
  jar {
      from {
          (configurations.runtime).collect {
              it.isDirectory() ? it : zipTree(it)
          }
      }
      manifest {
          attributes 'Main-Class': 'example.com.Main'
      }
  }
  
  idea {
      project {
          // experimental: whether annotation processing will be configured in the IDE; only actually used with the 'idea' task.
          configureAnnotationProcessing = true
      }
      module {
          apt {
              // whether generated sources dirs are added as generated sources root
              addGeneratedSourcesDirs = true
              // whether the apt and testApt dependencies are added as module dependencies
              addAptDependencies = true
  
              // The following are mostly internal details; you shouldn't ever need to configure them.
              // whether the compileOnly and testCompileOnly dependencies are added as module dependencies
              addCompileOnlyDependencies = false // defaults to true in Gradle &lt; 2.12
              // the dependency scope used for apt and/or compileOnly dependencies (when enabled above)
              mainDependenciesScope = "PROVIDED" // defaults to "COMPILE" in Gradle &lt; 3.4, or when using the Gradle integration in IntelliJ IDEA
          }
      }
  }
  </code></pre>
  
  <p>I am trying to extract information out of these source: </p>
  
  <ul>
  <li><a href="https://github.com/google/auto/issues/106#issuecomment-299005192" rel="nofollow noreferrer">https://github.com/google/auto/issues/106#issuecomment-299005192</a></li>
  <li><a href="https://github.com/google/auto/blob/master/value/userguide/index.md#in-your-value-class" rel="nofollow noreferrer">https://github.com/google/auto/blob/master/value/userguide/index.md#in-your-value-class</a></li>
  <li><a href="https://stackoverflow.com/questions/46424952/cannot-resolve-symbol-with-autovalue-and-intellij">Cannot resolve symbol with AutoValue and IntelliJ</a></li>
  <li><a href="https://github.com/tbroyer/gradle-apt-plugin" rel="nofollow noreferrer">https://github.com/tbroyer/gradle-apt-plugin</a></li>
  </ul>