title: Build error using Apache Avro generated files
body: <p>I a using Gradle to build a simple app using Apache Avro. Following are the relevant files:</p>
  
  <p>File <code>build.gradle</code></p>
  
  <pre><code>plugins {
      id "com.commercehub.gradle.plugin.avro" version "0.9.0"
  }
  
  apply plugin: 'application'
  
  group 'ahmed'
  version '1.0-SNAPSHOT'
  sourceCompatibility = 1.8
  
  dependencies {
      compile "org.apache.avro:avro:1.8.1"
      testCompile group: 'junit', name: 'junit', version: '4.11'
  }
  
  repositories {
      jcenter()
      mavenCentral()
  }
  
  avro {
      createSetters = false
      fieldVisibility = "PRIVATE"
  }
  
  mainClassName = 'App'
  </code></pre>
  
  <p>File <code>src/main/avro/com/ahmed/pb/Employee.avsc</code></p>
  
  <pre><code>{"namespace": "com.ahmed.pb",
    "type": "record", "name": "Employee",
      "fields": [
          {"name": "firstName", "type": "string"},
          {"name": "lastName", "type": "string"},
          {"name": "age",  "type": "int"},
          {"name": "phoneNumber",  "type": "string"}
      ]
  }
  </code></pre>
  
  <p>File: <code>src/main/java/App.java</code></p>
  
  <pre><code>// import avro.com.ahmed.pm.*;
  
  public class App {
      public String getGreeting() {
          return "Hello world.";
      }
  
      public static void main(String[] args) {
          System.out.println(new App().getGreeting());
  
  
          Employee bob = Employee.newBuilder().setAge(35)
                  .setFirstName("Bob")
                  .setLastName("Jones")
                  .setPhoneNumber("555-555-1212")
                  .build();
  
          assertEquals("Bob", bob.getFirstName());
      }
  }
  </code></pre>
  
  <p>Build error message:</p>
  
  <pre><code>$ ./gradlew  run
  Starting a Gradle Daemon (subsequent builds will be faster)
  :generateAvroProtocol NO-SOURCE
  :generateAvroJava
  :compileJava
  /home/ahmed/temp/avrotut/src/main/java/App.java:5: error: package avro.com.ahmed.pm does not exist
  import avro.com.ahmed.pm.*;
  ^
  /home/ahmed/temp/avrotut/src/main/java/App.java:17: error: cannot find symbol
          Employee bob = Employee.newBuilder().setAge(35)
          ^
    symbol:   class Employee
    location: class App
  /home/ahmed/temp/avrotut/src/main/java/App.java:17: error: cannot find symbol
          Employee bob = Employee.newBuilder().setAge(35)
                         ^
    symbol:   variable Employee
    location: class App
  Note: /home/ahmed/temp/avrotut/build/generated-main-avro-java/com/ahmed/pb/Employee.java uses unchecked or unsafe operations.
  Note: Recompile with -Xlint:unchecked for details.
  3 errors
  :compileJava FAILED
  </code></pre>
  
  <p>I am having a hard time including the Java generated class. Do I need to add some dependency in the <code>build.gradle</code> file? The import line in <code>App.java</code> is not working also.</p>