title: Querydsl mongodb gradle springboot issue
body: <p>I am trying to use querydsl in my project like it is described here in spring boot documentation,
  <a href="http://docs.spring.io/spring-data/mongodb/docs/1.5.4.RELEASE/reference/html/mongo.repositories.html" rel="nofollow">springboot-mongodb-look at 5.3.4</a> so that I can do this,</p>
  
  <pre><code>QPerson person = new QPerson("person");
  List&lt;Person&gt; result = repository.findAll(person.address.zipCode.eq("C0123"));
  
  Page&lt;Person&gt; page = repository.findAll(person.lastname.contains("a"), 
                                         new PageRequest(0, 2, Direction.ASC, "lastname"));
  </code></pre>
  
  <p>I am using gradle build and mongodb for database.</p>
  
  <p>My problem is, in querydsl documentation, only the maven integration is provided. <a href="http://www.querydsl.com/static/querydsl/latest/reference/html/ch02s07.html" rel="nofollow">querydsl document link</a>
  i.e</p>
  
  <pre><code>&lt;dependency&gt;
    &lt;groupId&gt;com.querydsl&lt;/groupId&gt;
    &lt;artifactId&gt;querydsl-apt&lt;/artifactId&gt;
    &lt;version&gt;${querydsl.version}&lt;/version&gt;
    &lt;scope&gt;provided&lt;/scope&gt;
  &lt;/dependency&gt;
  
  &lt;dependency&gt;
    &lt;groupId&gt;com.querydsl&lt;/groupId&gt;
    &lt;artifactId&gt;querydsl-mongodb&lt;/artifactId&gt;
    &lt;version&gt;${querydsl.version}&lt;/version&gt;
  &lt;/dependency&gt;
  
  &lt;dependency&gt;
    &lt;groupId&gt;org.slf4j&lt;/groupId&gt;
    &lt;artifactId&gt;slf4j-log4j12&lt;/artifactId&gt;
    &lt;version&gt;1.6.1&lt;/version&gt;
  &lt;/dependency&gt;
  </code></pre>
  
  <p>And now, configure the Maven APT plugin which generates the query types used by Querydsl:</p>
  
  <pre><code>&lt;project&gt;
    &lt;build&gt;
      &lt;plugins&gt;
        ...
        &lt;plugin&gt;
          &lt;groupId&gt;com.mysema.maven&lt;/groupId&gt;
          &lt;artifactId&gt;apt-maven-plugin&lt;/artifactId&gt;
          &lt;version&gt;1.1.3&lt;/version&gt;
          &lt;executions&gt;
            &lt;execution&gt;
              &lt;goals&gt;
                &lt;goal&gt;process&lt;/goal&gt;
              &lt;/goals&gt;
              &lt;configuration&gt;
                &lt;outputDirectory&gt;target/generated-sources/java&lt;/outputDirectory&gt;
                &lt;processor&gt;com.querydsl.apt.morphia.MorphiaAnnotationProcessor&lt;/processor&gt;
              &lt;/configuration&gt;
            &lt;/execution&gt;
          &lt;/executions&gt;
        &lt;/plugin&gt;
      ...
      &lt;/plugins&gt;
    &lt;/build&gt;
  &lt;/project&gt;
  </code></pre>
  
  <p>Can this be integrated using gradle? If yes, please provide the solution.</p>